diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 21:59:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 21:59:12 +0000 |
commit | ef38a0e957c4e18974e4f95e9ca96458e557c58f (patch) | |
tree | faf2c38d4d78ee3f7c34405b2d21f433984fca46 /usr.bin/newsyslog | |
parent | f1352fa502cddfd41ce2f093a0b44a482e6ec5ad (diff) |
more proto fixes
Diffstat (limited to 'usr.bin/newsyslog')
-rw-r--r-- | usr.bin/newsyslog/newsyslog.c | 10 |
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; |