summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_bcast.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-02-05 23:43:43 +0000
committeralfred <alfred@FreeBSD.org>2002-02-05 23:43:43 +0000
commit568956257500195a80a63ba67f283e98c05c43c1 (patch)
treeca23ccb17e63c2c0a7eeb6827d3211f8f37a1089 /lib/libc/rpc/clnt_bcast.c
parentfbd5ea601d57ce0f9ffdf4197a2613cb7cbc8fe2 (diff)
downloadFreeBSD-src-568956257500195a80a63ba67f283e98c05c43c1.zip
FreeBSD-src-568956257500195a80a63ba67f283e98c05c43c1.tar.gz
Fix cc -Wall, fix rcsid warnings, add missing prototypes,
change prototypes to be the same as in the original sun tirpc code. Remove ()P macro in a file where the mayority had ()P already removed. Add them if the mayority use ()P macros. Submitted by: mbr Requested by: bde
Diffstat (limited to 'lib/libc/rpc/clnt_bcast.c')
-rw-r--r--lib/libc/rpc/clnt_bcast.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/clnt_bcast.c b/lib/libc/rpc/clnt_bcast.c
index e2173464..7917c06 100644
--- a/lib/libc/rpc/clnt_bcast.c
+++ b/lib/libc/rpc/clnt_bcast.c
@@ -269,13 +269,14 @@ rpc_broadcast_exp(prog, vers, proc, xargs, argsp, xresults, resultsp,
size_t fdlistno = 0;
struct r_rpcb_rmtcallargs barg; /* Remote arguments */
struct r_rpcb_rmtcallres bres; /* Remote results */
- size_t outlen, outlen_pmap;
+ size_t outlen;
struct netconfig *nconf;
int msec;
int pollretval;
int fds_found;
#ifdef PORTMAP
+ size_t outlen_pmap = 0;
u_long port; /* Remote port number */
int pmap_flag = 0; /* UDP exists ? */
char *outbuf_pmap = NULL;
OpenPOWER on IntegriCloud