summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
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 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: