diff options
author | phk <phk@FreeBSD.org> | 2002-10-15 18:24:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-15 18:24:31 +0000 |
commit | 10a95012cf1499e70a7935802207d0eb346092f1 (patch) | |
tree | 3912c9b0ee655f101579a186ff346a739e004a2e /usr.bin/login/login.c | |
parent | 1fe14c44e9c5a97821a432cc7b6d738d055485f7 (diff) | |
download | FreeBSD-src-10a95012cf1499e70a7935802207d0eb346092f1.zip FreeBSD-src-10a95012cf1499e70a7935802207d0eb346092f1.tar.gz |
Be consistent about functions being static.
Spotted by: FlexeLint
Diffstat (limited to 'usr.bin/login/login.c')
-rw-r--r-- | usr.bin/login/login.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 6b03a1c..cc1b8d0 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -833,7 +833,7 @@ timedout(int signo __unused) longjmp(timeout_buf, signo); } -void +static void badlogin(char *name) { @@ -868,7 +868,7 @@ stypeof(char *ttyid) return (NULL); } -void +static void refused(const char *msg, const char *rtype, int lout) { @@ -887,7 +887,7 @@ refused(const char *msg, const char *rtype, int lout) /* * Log a PAM error */ -void +static void pam_syslog(const char *msg) { syslog(LOG_ERR, "%s: %s", msg, pam_strerror(pamh, pam_err)); @@ -896,7 +896,7 @@ pam_syslog(const char *msg) /* * Shut down PAM */ -void +static void pam_cleanup() { |