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 /console-tools | |
parent | 1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff) |
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 020cdfb47..054803703 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 d9bbb2072..31c6d2495 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 5a7e88d7b..792618f5c 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: |