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.) --- loginutils/login.c | 2 +- loginutils/passwd.c | 2 +- loginutils/sulogin.c | 2 +- loginutils/vlock.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'loginutils') 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; -- cgit v1.2.3