projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lsscsi: fix xchdir("..") from symlink in /sys/bus/scsi/devices
[oweals/busybox.git]
/
libbb
/
warn_ignoring_args.c
diff --git
a/libbb/warn_ignoring_args.c
b/libbb/warn_ignoring_args.c
index af82a6b5bb559a30ff0b82cac9044c79ffe8c5bb..3f3025c03768cec211746e5ed104154dbaa10587 100644
(file)
--- a/
libbb/warn_ignoring_args.c
+++ b/
libbb/warn_ignoring_args.c
@@
-4,14
+4,15
@@
*
* Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
*
*
* 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_
p
error_msg("ignoring all arguments");
+ if (
arg
) {
+ bb_error_msg("ignoring all arguments");
}
}
}
}
+#endif