diff options
author | bde <bde@FreeBSD.org> | 1998-10-17 14:47:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-10-17 14:47:00 +0000 |
commit | 84db1eb2dc82ce0b5ef29fc7ce50792d7450a51d (patch) | |
tree | c66e9236e6769114f07058f36ef2877da2929ce8 | |
parent | d3a9e969dff6d12548a40b60ab4714bf8d8d47c8 (diff) | |
download | FreeBSD-src-84db1eb2dc82ce0b5ef29fc7ce50792d7450a51d.zip FreeBSD-src-84db1eb2dc82ce0b5ef29fc7ce50792d7450a51d.tar.gz |
Fixed the type of a signal handler.
-rw-r--r-- | contrib/ipfilter/ipmon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/ipfilter/ipmon.c b/contrib/ipfilter/ipmon.c index aea7f20..aed6a82 100644 --- a/contrib/ipfilter/ipmon.c +++ b/contrib/ipfilter/ipmon.c @@ -94,7 +94,7 @@ static FILE *newlog = NULL; static char *logfile = NULL; static int donehup = 0; static void usage __P((char *)); -static void handlehup __P((void)); +static void handlehup __P((int)); static void flushlogs __P((char *, FILE *)); static void print_log __P((int, FILE *, char *, int)); static void print_ipflog __P((FILE *, char *, int)); @@ -126,7 +126,8 @@ static void logopts __P((int, char *)); #endif -static void handlehup() +static void handlehup(sig) +int sig; { FILE *fp; |