diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-28 04:40:36 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-28 04:40:36 +0000 |
commit | 0b07d8724eb83b8246e7c54b72587c24ce06a699 (patch) | |
tree | 286dd7c73c32c8c381a7da8c5afd3987eb70c9b1 /cpukit/libnetworking/netinet | |
parent | 2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-0b07d8724eb83b8246e7c54b72587c24ce06a699.tar.bz2 |
2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_input.c: Eliminate __P().
Change "int next" to "int32_t next" for 16bit targets.
Diffstat (limited to 'cpukit/libnetworking/netinet')
-rw-r--r-- | cpukit/libnetworking/netinet/ip_input.c | 21 |
1 files changed, 11 insertions, 10 deletions
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 |