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