- djm@cvs.openbsd.org 2004/08/11 12:01:16
[sshlogin.c]
make store_lastlog_message() static to appease -Wall; ok markus
diff --git a/ChangeLog b/ChangeLog
index fd2a76a..e78d2f1 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
@@ -1589,4 +1592,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3495 2004/08/12 12:49:00 dtucker Exp $
+$Id: ChangeLog,v 1.3496 2004/08/12 12:50:03 dtucker Exp $
diff --git a/sshlogin.c b/sshlogin.c
index 399d02a..b82c45c 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 @@
* 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];