diff options
author | Rob Landley | 2006-03-06 20:47:33 +0000 |
---|---|---|
committer | Rob Landley | 2006-03-06 20:47:33 +0000 |
commit | dfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch) | |
tree | 588d140a71e857cb32c80d1faad6f3073b119aa7 /console-tools | |
parent | 1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff) | |
download | busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.zip busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz |
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/clear.c | 2 | ||||
-rw-r--r-- | console-tools/loadfont.c | 2 | ||||
-rw-r--r-- | console-tools/reset.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/console-tools/clear.c b/console-tools/clear.c index 020cdfb..0548037 100644 --- a/console-tools/clear.c +++ b/console-tools/clear.c @@ -27,7 +27,7 @@ #include "busybox.h" -extern int clear_main(int argc, char **argv) +int clear_main(int argc, char **argv) { return printf("\033[H\033[J") != 6; } diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index d9bbb20..31c6d24 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c @@ -39,7 +39,7 @@ struct psf_header { static void loadnewfont(int fd); -extern int loadfont_main(int argc, char **argv) +int loadfont_main(int argc, char **argv) { int fd; diff --git a/console-tools/reset.c b/console-tools/reset.c index 5a7e88d..792618f 100644 --- a/console-tools/reset.c +++ b/console-tools/reset.c @@ -28,7 +28,7 @@ #include <unistd.h> #include "busybox.h" -extern int reset_main(int argc, char **argv) +int reset_main(int argc, char **argv) { if (isatty(1)) { /* See 'man 4 console_codes' for details: |