diff options
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 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; |