Start 1.33.0 development cycle
[oweals/busybox.git] / libbb / warn_ignoring_args.c
index af82a6b5bb559a30ff0b82cac9044c79ffe8c5bb..b24546e413065184616059c9c4de5cec924350a4 100644 (file)
@@ -4,14 +4,15 @@
  *
  * Copyright (C) 2003  Manuel Novoa III  <mjn3@codepoet.org>
  *
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
+#include "libbb.h"
 
-#include <libbb.h>
-
-void bb_warn_ignoring_args(int n)
+#if ENABLE_DESKTOP
+void FAST_FUNC bb_warn_ignoring_args(char *arg)
 {
-       if (n) {
-               bb_perror_msg("ignoring all arguments");
+       if (arg) {
+               bb_simple_error_msg("ignoring all arguments");
        }
 }
+#endif