diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-08-12 14:50:03 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-08-12 14:50:03 +0200 |
commit | 133b757357fe78893327494afb8db113a6ad53a8 (patch) | |
tree | a6ce554b8a971fea222246b7a18e6dfce1ab1aaa /sshlogin.c | |
parent | - djm@cvs.openbsd.org 2004/08/11 11:59:22 (diff) | |
download | openssh-133b757357fe78893327494afb8db113a6ad53a8.tar.xz openssh-133b757357fe78893327494afb8db113a6ad53a8.zip |
- djm@cvs.openbsd.org 2004/08/11 12:01:16
[sshlogin.c]
make store_lastlog_message() static to appease -Wall; ok markus
Diffstat (limited to 'sshlogin.c')
-rw-r--r-- | sshlogin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshlogin.c b/sshlogin.c index 399d02a0f..b82c45c5c 100644 --- a/sshlogin.c +++ b/sshlogin.c @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshlogin.c,v 1.11 2004/08/11 11:59:22 djm Exp $"); +RCSID("$OpenBSD: sshlogin.c,v 1.12 2004/08/11 12:01:16 djm Exp $"); #include "loginrec.h" #include "log.h" @@ -69,7 +69,7 @@ get_last_login_time(uid_t uid, const char *logname, * Generate and store last login message. This must be done before * login_login() is called and lastlog is updated. */ -void +static void store_lastlog_message(const char *user, uid_t uid) { char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; |