summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshlogin.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-08-11 12:01:17 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-08-11 12:01:17 +0000
commit0bc4194456ccc7ff7d492c65b42e61fa871cf9a7 (patch)
tree06165c771bbd2afa019c05449a12f3390c575a2c /usr.bin/ssh/sshlogin.c
parent4a55a77736bd11a46a538ea3842dc93ece05ea82 (diff)
make store_lastlog_message() static to appease -Wall; ok markus
Diffstat (limited to 'usr.bin/ssh/sshlogin.c')
-rw-r--r--usr.bin/ssh/sshlogin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshlogin.c b/usr.bin/ssh/sshlogin.c
index 78a346eab4c..99de2ed3067 100644
--- a/usr.bin/ssh/sshlogin.c
+++ b/usr.bin/ssh/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 <util.h>
#include <utmp.h>
@@ -98,7 +98,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];