projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove #ifdef __STDC__ junk. We don't do K&R round these parts,
[oweals/busybox.git]
/
coreutils
/
length.c
diff --git
a/coreutils/length.c
b/coreutils/length.c
index cf4fb1c079dba9812e32d7d668c886c0b6b6fa2d..1ab4e3a58d0bcf639f1cf3cdbffb0f6080607849 100644
(file)
--- a/
coreutils/length.c
+++ b/
coreutils/length.c
@@
-1,5
+1,5
@@
/* vi: set sw=4 ts=4: */
/* vi: set sw=4 ts=4: */
-#include "
internal
.h"
+#include "
busybox
.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@
-9,5
+9,5
@@
extern int length_main(int argc, char **argv)
if (argc != 2 || **(argv + 1) == '-')
usage(length_usage);
printf("%lu\n", (long)strlen(argv[1]));
if (argc != 2 || **(argv + 1) == '-')
usage(length_usage);
printf("%lu\n", (long)strlen(argv[1]));
- return
(TRUE)
;
+ return
EXIT_SUCCESS
;
}
}