diff options
author | Rob Landley <rob@landley.net> | 2006-03-06 20:47:33 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-03-06 20:47:33 +0000 |
commit | dfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch) | |
tree | 588d140a71e857cb32c80d1faad6f3073b119aa7 /coreutils/libcoreutils | |
parent | 1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff) | |
download | busybox-w32-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz busybox-w32-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.bz2 busybox-w32-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.zip |
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Diffstat (limited to 'coreutils/libcoreutils')
-rw-r--r-- | coreutils/libcoreutils/cp_mv_stat.c | 4 | ||||
-rw-r--r-- | coreutils/libcoreutils/getopt_mk_fifo_nod.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/libcoreutils/cp_mv_stat.c b/coreutils/libcoreutils/cp_mv_stat.c index 5a70b0221..d401bcc75 100644 --- a/coreutils/libcoreutils/cp_mv_stat.c +++ b/coreutils/libcoreutils/cp_mv_stat.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "libbb.h" | 25 | #include "libbb.h" |
26 | #include "coreutils.h" | 26 | #include "coreutils.h" |
27 | 27 | ||
28 | extern int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) | 28 | int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) |
29 | { | 29 | { |
30 | if (sf(fn, fn_stat) < 0) { | 30 | if (sf(fn, fn_stat) < 0) { |
31 | if (errno != ENOENT) { | 31 | if (errno != ENOENT) { |
@@ -39,7 +39,7 @@ extern int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) | |||
39 | return 1; | 39 | return 1; |
40 | } | 40 | } |
41 | 41 | ||
42 | extern int cp_mv_stat(const char *fn, struct stat *fn_stat) | 42 | int cp_mv_stat(const char *fn, struct stat *fn_stat) |
43 | { | 43 | { |
44 | return cp_mv_stat2(fn, fn_stat, stat); | 44 | return cp_mv_stat2(fn, fn_stat, stat); |
45 | } | 45 | } |
diff --git a/coreutils/libcoreutils/getopt_mk_fifo_nod.c b/coreutils/libcoreutils/getopt_mk_fifo_nod.c index 090fefaee..d1f5b1e89 100644 --- a/coreutils/libcoreutils/getopt_mk_fifo_nod.c +++ b/coreutils/libcoreutils/getopt_mk_fifo_nod.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "libbb.h" | 26 | #include "libbb.h" |
27 | #include "coreutils.h" | 27 | #include "coreutils.h" |
28 | 28 | ||
29 | extern mode_t getopt_mk_fifo_nod(int argc, char **argv) | 29 | mode_t getopt_mk_fifo_nod(int argc, char **argv) |
30 | { | 30 | { |
31 | mode_t mode = 0666; | 31 | mode_t mode = 0666; |
32 | char *smode = NULL; | 32 | char *smode = NULL; |