aboutsummaryrefslogtreecommitdiff
path: root/libbb/warn_ignoring_args.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-04 13:16:08 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-04 13:16:08 +0100
commita355da07756e529c112249653ed5af0e2d910728 (patch)
tree3b36dd1ec8618a39c8324bcfdca77f6f8f497a18 /libbb/warn_ignoring_args.c
parenta4899efd03d2fdaaf3f581d89a7a4844832d3fbb (diff)
downloadbusybox-w32-a355da07756e529c112249653ed5af0e2d910728.tar.gz
busybox-w32-a355da07756e529c112249653ed5af0e2d910728.tar.bz2
busybox-w32-a355da07756e529c112249653ed5af0e2d910728.zip
*: make 2 more "int argc"'s unused; more saved if !DESKTOP
function old new delta sync_main 18 20 +2 tty_main 90 87 -3 iprule_list 83 79 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/warn_ignoring_args.c')
-rw-r--r--libbb/warn_ignoring_args.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libbb/warn_ignoring_args.c b/libbb/warn_ignoring_args.c
index 65dea321a..fa33c258f 100644
--- a/libbb/warn_ignoring_args.c
+++ b/libbb/warn_ignoring_args.c
@@ -6,12 +6,13 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
8 */ 8 */
9
10#include "libbb.h" 9#include "libbb.h"
11 10
12void FAST_FUNC bb_warn_ignoring_args(int n) 11#if ENABLE_DESKTOP
12void FAST_FUNC bb_warn_ignoring_args(char *arg)
13{ 13{
14 if (n) { 14 if (arg) {
15 bb_error_msg("ignoring all arguments"); 15 bb_error_msg("ignoring all arguments");
16 } 16 }
17} 17}
18#endif