summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-26 05:51:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-26 05:51:45 +0000
commitda9078a3ee12e821ca7552e94999aed2c0c44624 (patch)
treefcbe711a1a140739ea6689ae1ee32b3e5af384a4 /cpukit/libnetworking/netinet
parent2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-da9078a3ee12e821ca7552e94999aed2c0c44624.tar.bz2
2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in.h: Eliminate __P().
Diffstat (limited to 'cpukit/libnetworking/netinet')
-rw-r--r--cpukit/libnetworking/netinet/in.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libnetworking/netinet/in.h b/cpukit/libnetworking/netinet/in.h
index d3e0654295..8770410404 100644
--- a/cpukit/libnetworking/netinet/in.h
+++ b/cpukit/libnetworking/netinet/in.h
@@ -450,14 +450,14 @@ char *inet_ntoa(struct in_addr); /* in libkern */
/* Firewall hooks */
struct ip;
-typedef int ip_fw_chk_t __P((struct ip**, int, struct ifnet*, int, struct mbuf**));
-typedef int ip_fw_ctl_t __P((int, struct mbuf**));
+typedef int ip_fw_chk_t(struct ip**, int, struct ifnet*, int, struct mbuf**);
+typedef int ip_fw_ctl_t(int, struct mbuf**);
extern ip_fw_chk_t *ip_fw_chk_ptr;
extern ip_fw_ctl_t *ip_fw_ctl_ptr;
/* IP NAT hooks */
-typedef int ip_nat_t __P((struct ip**, struct mbuf**, struct ifnet*, int));
-typedef int ip_nat_ctl_t __P((int, struct mbuf**));
+typedef int ip_nat_t(struct ip**, struct mbuf**, struct ifnet*, int);
+typedef int ip_nat_ctl(int, struct mbuf**);
extern ip_nat_t *ip_nat_ptr;
extern ip_nat_ctl_t *ip_nat_ctl_ptr;
#define IP_NAT_IN 0x00000001