From 0b07d8724eb83b8246e7c54b72587c24ce06a699 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 28 Mar 2007 04:40:36 +0000 Subject: =?UTF-8?q?2007-03-28=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libnetworking/netinet/ip_input.c: Eliminate __P(). Change "int next" to "int32_t next" for 16bit targets. --- cpukit/libnetworking/netinet/ip_input.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'cpukit/libnetworking/netinet') diff --git a/cpukit/libnetworking/netinet/ip_input.c b/cpukit/libnetworking/netinet/ip_input.c index b6f95f7dc8..437641821c 100644 --- a/cpukit/libnetworking/netinet/ip_input.c +++ b/cpukit/libnetworking/netinet/ip_input.c @@ -168,17 +168,17 @@ static struct ip_srcrt { static u_short frag_divert_port; #endif -static void save_rte __P((u_char *, struct in_addr)); -static void ip_deq __P((struct ipasfrag *)); -static int ip_dooptions __P((struct mbuf *)); -static void ip_enq __P((struct ipasfrag *, struct ipasfrag *)); -static void ip_forward __P((struct mbuf *, int)); -static void ip_freef __P((struct ipq *)); +static void save_rte(u_char *, struct in_addr); +static void ip_deq(struct ipasfrag *); +static int ip_dooptions(struct mbuf *); +static void ip_enq(struct ipasfrag *, struct ipasfrag *); +static void ip_forward(struct mbuf *, int); +static void ip_freef(struct ipq *); static struct ip * - ip_reass __P((struct ipasfrag *, struct ipq *, struct ipq *)); + ip_reass(struct ipasfrag *, struct ipq *, struct ipq *); static struct in_ifaddr * - ip_rtaddr __P((struct in_addr)); -void ipintr __P((void)); + ip_rtaddr(struct in_addr); +void ipintr(void); /* * IP initialization: fill in IP protocol switch table. * All protocols not implemented in kernel go to raw IP protocol handler. @@ -611,7 +611,8 @@ ip_reass(ip, fp, where) register struct ipasfrag *q; struct mbuf *t; int hlen = ip->ip_hl << 2; - int i, next; + int i; + int32_t next; /* * Presence of header sizes in mbufs -- cgit v1.2.3