From 568956257500195a80a63ba67f283e98c05c43c1 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 5 Feb 2002 23:43:43 +0000 Subject: 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 --- lib/libc/rpc/rpcb_prot.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc/rpc/rpcb_prot.c') diff --git a/lib/libc/rpc/rpcb_prot.c b/lib/libc/rpc/rpcb_prot.c index aa46510..20ee091 100644 --- a/lib/libc/rpc/rpcb_prot.c +++ b/lib/libc/rpc/rpcb_prot.c @@ -116,6 +116,7 @@ xdr_rpcblist_ptr(xdrs, rp) rpcblist_ptr next; rpcblist_ptr next_copy; + next = NULL; for (;;) { more_elements = (bool_t)(*rp != NULL); if (! xdr_bool(xdrs, &more_elements)) { @@ -204,6 +205,7 @@ xdr_rpcb_entry_list_ptr(xdrs, rp) rpcb_entry_list_ptr next; rpcb_entry_list_ptr next_copy; + next = NULL; for (;;) { more_elements = (bool_t)(*rp != NULL); if (! xdr_bool(xdrs, &more_elements)) { -- cgit v1.1