diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-08-12 22:50:03 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-08-12 22:50:03 +1000 |
commit | 133b757357fe78893327494afb8db113a6ad53a8 (patch) | |
tree | a6ce554b8a971fea222246b7a18e6dfce1ab1aaa /sshlogin.c | |
parent | 9c5049a40ff1069fe40f5714dd7ba8fdc733d8a3 (diff) |
- 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 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include "includes.h" | 41 | #include "includes.h" |
42 | RCSID("$OpenBSD: sshlogin.c,v 1.11 2004/08/11 11:59:22 djm Exp $"); | 42 | RCSID("$OpenBSD: sshlogin.c,v 1.12 2004/08/11 12:01:16 djm Exp $"); |
43 | 43 | ||
44 | #include "loginrec.h" | 44 | #include "loginrec.h" |
45 | #include "log.h" | 45 | #include "log.h" |
@@ -69,7 +69,7 @@ get_last_login_time(uid_t uid, const char *logname, | |||
69 | * Generate and store last login message. This must be done before | 69 | * Generate and store last login message. This must be done before |
70 | * login_login() is called and lastlog is updated. | 70 | * login_login() is called and lastlog is updated. |
71 | */ | 71 | */ |
72 | void | 72 | static void |
73 | store_lastlog_message(const char *user, uid_t uid) | 73 | store_lastlog_message(const char *user, uid_t uid) |
74 | { | 74 | { |
75 | char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; | 75 | char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; |