aboutsummaryrefslogtreecommitdiff
path: root/contrib/ipfilter/lib/save_syslog.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-01-26 06:24:28 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-02 01:19:15 +0000
commit4cd1807c7d2a67b633dd0c0bfde15091543a2514 (patch)
tree5c55d2068d7f0990f2f7f6f89a5e48f444f2eea4 /contrib/ipfilter/lib/save_syslog.c
parent0b7f1af804f06a285717b490bef80e24648adcbe (diff)
downloadsrc-4cd1807c7d2a67b633dd0c0bfde15091543a2514.tar.gz
src-4cd1807c7d2a67b633dd0c0bfde15091543a2514.zip
Retire the K&R/STD C __P prototype declarations.
In the old days when K&R C and STD C were each in use a workaround (read hack) was required to allow the same code to work on each without modification. All C compilers support STD C. We can finally put the __P prototype to rest. MFC after: 1 week
Diffstat (limited to 'contrib/ipfilter/lib/save_syslog.c')
-rw-r--r--contrib/ipfilter/lib/save_syslog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/ipfilter/lib/save_syslog.c b/contrib/ipfilter/lib/save_syslog.c
index c1efdf41d984..37d428bdb4aa 100644
--- a/contrib/ipfilter/lib/save_syslog.c
+++ b/contrib/ipfilter/lib/save_syslog.c
@@ -2,10 +2,10 @@
#include "ipmon.h"
#include <syslog.h>
-static void *syslog_parse __P((char **));
-static void syslog_destroy __P((void *));
-static int syslog_send __P((void *, ipmon_msg_t *));
-static void syslog_print __P((void *));
+static void *syslog_parse(char **);
+static void syslog_destroy(void *);
+static int syslog_send(void *, ipmon_msg_t *);
+static void syslog_print(void *);
typedef struct syslog_opts_s {
int facpri;