diff options
author | Rob Landley | 2006-03-06 20:47:33 +0000 |
---|---|---|
committer | Rob Landley | 2006-03-06 20:47:33 +0000 |
commit | dfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch) | |
tree | 588d140a71e857cb32c80d1faad6f3073b119aa7 /loginutils | |
parent | 1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff) | |
download | busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.zip busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz |
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.c | 2 | ||||
-rw-r--r-- | loginutils/passwd.c | 2 | ||||
-rw-r--r-- | loginutils/sulogin.c | 2 | ||||
-rw-r--r-- | loginutils/vlock.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 0f4b9ad..eadb17d 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 c6920ff..611ced3 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 cecfa90..8c5d88a 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 0975b51..6f39107 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; |