[sshlogin.c]
     make store_lastlog_message() static to appease -Wall; ok markus
This commit is contained in:
Darren Tucker 2004-08-12 22:50:03 +10:00
Родитель 9c5049a40f
Коммит 133b757357
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -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 $

Просмотреть файл

@ -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];