diff options
-rw-r--r-- | cpukit/ChangeLog | 1 | ||||
-rw-r--r-- | cpukit/libnetworking/netinet/in.h | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index a5a4aedde6..6e709fc808 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,6 @@ 2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org> + * libnetworking/netinet/in.h: Eliminate __P(). * libnetworking/netinet/tcp_var.h: Eliminate __P(). 2007-03-25 Ralf Corsépius <ralf.corsepius@rtems.org> 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 |