From 7456203edf73698f98779302d0e36f51a5a28c24 Mon Sep 17 00:00:00 2001 From: dtucker Date: Thu, 12 Aug 2004 12:50:03 +0000 Subject: [PATCH] - djm@cvs.openbsd.org 2004/08/11 12:01:16 [sshlogin.c] make store_lastlog_message() static to appease -Wall; ok markus --- ChangeLog | 3 +++ sshlogin.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54e62598..3d1cf168 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,9 @@ [sshlogin.c] check that lseek went were we told it to; ok markus@ (Id sync only, but similar changes are needed in loginrec.c) + - djm@cvs.openbsd.org 2004/08/11 12:01:16 + [sshlogin.c] + make store_lastlog_message() static to appease -Wall; ok markus 20040720 - (djm) OpenBSD CVS Sync diff --git a/sshlogin.c b/sshlogin.c index 399d02a0..b82c45c5 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]; -- 2.45.1