summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 05:07:41 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 05:07:41 +0000
commite386ad7265df46df5536cc9033500394f717a720 (patch)
tree51041532039faa76c50d80e2513db8cc76220348 /cpukit/libnetworking/netinet
parent2008-08-01 Ralf Cors├ępius <ralf.corsepius@rtems.org> (diff)
downloadrtems-e386ad7265df46df5536cc9033500394f717a720.tar.bz2
Add missing prototypes.
Diffstat (limited to 'cpukit/libnetworking/netinet')
-rw-r--r--cpukit/libnetworking/netinet/in_cksum_m68k.h5
-rw-r--r--cpukit/libnetworking/netinet/ip_divert.c10
2 files changed, 8 insertions, 7 deletions
diff --git a/cpukit/libnetworking/netinet/in_cksum_m68k.h b/cpukit/libnetworking/netinet/in_cksum_m68k.h
index e0a2215039..073504d4a8 100644
--- a/cpukit/libnetworking/netinet/in_cksum_m68k.h
+++ b/cpukit/libnetworking/netinet/in_cksum_m68k.h
@@ -52,9 +52,8 @@
* August, 1998
*/
int
-in_cksum(m, len)
- struct mbuf *m;
- int len;
+in_cksum( struct mbuf *m,
+ int len )
{
unsigned short *w;
unsigned long sum = 0;
diff --git a/cpukit/libnetworking/netinet/ip_divert.c b/cpukit/libnetworking/netinet/ip_divert.c
index e72c4d28ff..33c139164b 100644
--- a/cpukit/libnetworking/netinet/ip_divert.c
+++ b/cpukit/libnetworking/netinet/ip_divert.c
@@ -264,10 +264,12 @@ cantsend:
/*ARGSUSED*/
int
-div_usrreq(so, req, m, nam, control)
- register struct socket *so;
- int req;
- struct mbuf *m, *nam, *control;
+div_usrreq(
+ struct socket *so,
+ int req,
+ struct mbuf *m,
+ struct mbuf *nam,
+ struct mbuf *control )
{
register int error = 0;
register struct inpcb *inp = sotoinpcb(so);