summaryrefslogtreecommitdiff
path: root/usr.bin/newsyslog
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 21:59:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 21:59:12 +0000
commitef38a0e957c4e18974e4f95e9ca96458e557c58f (patch)
treefaf2c38d4d78ee3f7c34405b2d21f433984fca46 /usr.bin/newsyslog
parentf1352fa502cddfd41ce2f093a0b44a482e6ec5ad (diff)
more proto fixes
Diffstat (limited to 'usr.bin/newsyslog')
-rw-r--r--usr.bin/newsyslog/newsyslog.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c
index 1163354cd03..7b3ad5ff1a1 100644
--- a/usr.bin/newsyslog/newsyslog.c
+++ b/usr.bin/newsyslog/newsyslog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newsyslog.c,v 1.72 2003/06/17 21:56:25 millert Exp $ */
+/* $OpenBSD: newsyslog.c,v 1.73 2003/06/26 21:59:10 deraadt Exp $ */
/*
* Copyright (c) 1999, 2002, 2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -71,7 +71,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.72 2003/06/17 21:56:25 millert Exp $";
+static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.73 2003/06/26 21:59:10 deraadt Exp $";
#endif /* not lint */
#ifndef CONF
@@ -179,7 +179,8 @@ void child_killer(int);
void run_command(char *);
void send_signal(char *, int);
char *lstat_log(char *, size_t, int);
-int stat_suffix(char *, size_t, char *, struct stat *, int (*)());
+int stat_suffix(char *, size_t, char *, struct stat *,
+ int (*)(const char *, struct stat *));
time_t parse8601(char *);
time_t parseDWM(char *);
@@ -1085,7 +1086,8 @@ child_killer(int signo)
}
int
-stat_suffix(char *file, size_t size, char *suffix, struct stat *sp, int (*func)())
+stat_suffix(char *file, size_t size, char *suffix, struct stat *sp,
+ int (*func)(const char *, struct stat *))
{
size_t n;