diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-01 06:12:05 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-01 06:12:05 +0000 |
commit | 83516125cbeecca9fa76085ac835f39fa97092a7 (patch) | |
tree | 69d38b787fe62cee607c1585fd49d94957b6232b /cpukit/librpc/src/rpc/pmap_rmt.c | |
parent | 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-83516125cbeecca9fa76085ac835f39fa97092a7.tar.bz2 |
Misc. ansifications.
Diffstat (limited to '')
-rw-r--r-- | cpukit/librpc/src/rpc/pmap_rmt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/librpc/src/rpc/pmap_rmt.c b/cpukit/librpc/src/rpc/pmap_rmt.c index ec737a93a1..a555e31054 100644 --- a/cpukit/librpc/src/rpc/pmap_rmt.c +++ b/cpukit/librpc/src/rpc/pmap_rmt.c @@ -182,10 +182,10 @@ xdr_rmtcallres(xdrs, crp) */ static int -getbroadcastnets(addrs, sock, buf) - struct in_addr *addrs; - int sock; /* any valid socket will do */ - char *buf; /* why allocxate more when we can use existing... */ +getbroadcastnets( + struct in_addr *addrs, + int sock, /* any valid socket will do */ + char *buf /* why allocxate more when we can use existing... */ ) { struct ifconf ifc; struct ifreq ifreq, *ifr; @@ -241,7 +241,7 @@ getbroadcastnets(addrs, sock, buf) return (i); } -typedef bool_t (*resultproc_t)(); +typedef bool_t (*resultproc_t)(caddr_t, struct sockaddr_in *); enum clnt_stat clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) |