aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
committerGravatar Rob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /loginutils
parent1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff)
downloadbusybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz
busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.bz2
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c2
-rw-r--r--loginutils/passwd.c2
-rw-r--r--loginutils/sulogin.c2
-rw-r--r--loginutils/vlock.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index 0f4b9ad9f..eadb17ddc 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -59,7 +59,7 @@ static void alarm_handler ( int sig ATTRIBUTE_UNUSED)
}
-extern int login_main(int argc, char **argv)
+int login_main(int argc, char **argv)
{
char tty[BUFSIZ];
char full_tty[200];
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index c6920ffe7..611ced3a4 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -132,7 +132,7 @@ static int update_passwd(const struct passwd *pw, const char *crypt_pw)
}
-extern int passwd_main(int argc, char **argv)
+int passwd_main(int argc, char **argv)
{
int amroot;
char *cp;
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c
index cecfa905a..8c5d88a62 100644
--- a/loginutils/sulogin.c
+++ b/loginutils/sulogin.c
@@ -46,7 +46,7 @@ static void catchalarm(int ATTRIBUTE_UNUSED junk)
}
-extern int sulogin_main(int argc, char **argv)
+int sulogin_main(int argc, char **argv)
{
char *cp;
char *device = (char *) 0;
diff --git a/loginutils/vlock.c b/loginutils/vlock.c
index 0975b5156..6f391075b 100644
--- a/loginutils/vlock.c
+++ b/loginutils/vlock.c
@@ -66,7 +66,7 @@ static void restore_terminal(void)
tcsetattr(STDIN_FILENO, TCSANOW, &oterm);
}
-extern int vlock_main(int argc, char **argv)
+int vlock_main(int argc, char **argv)
{
sigset_t sig;
struct sigaction sa;