From dfba741457cc81eb2ed3a9d4c074fbad74aa3249 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 6 Mar 2006 20:47:33 +0000 Subject: Robert P. Day removed 8 gazillion occurrences of "extern" on function definitions. (That should only be on prototypes.) --- console-tools/clear.c | 2 +- console-tools/loadfont.c | 2 +- console-tools/reset.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'console-tools') 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 #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: -- cgit v1.2.3