aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
committerRob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /console-tools
parent1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff)
downloadbusybox-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 'console-tools')
-rw-r--r--console-tools/clear.c2
-rw-r--r--console-tools/loadfont.c2
-rw-r--r--console-tools/reset.c2
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 @@
27#include "busybox.h" 27#include "busybox.h"
28 28
29 29
30extern int clear_main(int argc, char **argv) 30int clear_main(int argc, char **argv)
31{ 31{
32 return printf("\033[H\033[J") != 6; 32 return printf("\033[H\033[J") != 6;
33} 33}
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 {
39 39
40static void loadnewfont(int fd); 40static void loadnewfont(int fd);
41 41
42extern int loadfont_main(int argc, char **argv) 42int loadfont_main(int argc, char **argv)
43{ 43{
44 int fd; 44 int fd;
45 45
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 @@
28#include <unistd.h> 28#include <unistd.h>
29#include "busybox.h" 29#include "busybox.h"
30 30
31extern int reset_main(int argc, char **argv) 31int reset_main(int argc, char **argv)
32{ 32{
33 if (isatty(1)) { 33 if (isatty(1)) {
34 /* See 'man 4 console_codes' for details: 34 /* See 'man 4 console_codes' for details: