summaryrefslogtreecommitdiff
path: root/libbb/warn_ignoring_args.c
diff options
context:
space:
mode:
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 65dea32..fa33c25 100644
--- a/libbb/warn_ignoring_args.c
+++ b/libbb/warn_ignoring_args.c
@@ -6,12 +6,13 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-
#include "libbb.h"
-void FAST_FUNC bb_warn_ignoring_args(int n)
+#if ENABLE_DESKTOP
+void FAST_FUNC bb_warn_ignoring_args(char *arg)
{
- if (n) {
+ if (arg) {
bb_error_msg("ignoring all arguments");
}
}
+#endif