aboutsummaryrefslogtreecommitdiff
path: root/contrib/ipfilter/ipt.h
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/ipt.h
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/ipt.h')
-rw-r--r--contrib/ipfilter/ipt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/ipfilter/ipt.h b/contrib/ipfilter/ipt.h
index 16d88dfc8809..9a4d75a85ccb 100644
--- a/contrib/ipfilter/ipt.h
+++ b/contrib/ipfilter/ipt.h
@@ -24,9 +24,9 @@
struct ipread {
- int (*r_open) __P((char *));
- int (*r_close) __P((void));
- int (*r_readip) __P((mb_t *, char **, int *));
+ int (*r_open)(char *);
+ int (*r_close)(void);
+ int (*r_readip)(mb_t *, char **, int *);
int r_flags;
};