summaryrefslogtreecommitdiff
path: root/sunrpc/xdr_ref.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-09 19:21:56 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-09 19:21:56 +0200
commit525c181a5a9a95e24d2111b7792608151a40eb84 (patch)
tree8ba16eeb3fb7327e5c3c5bba9c5786d4bb6ccec1 /sunrpc/xdr_ref.c
parent4dd9e35bfd35d3138bc44169baba098005bad51e (diff)
parent7bb5f8a836b916d6ebf7b6921b136e99cea2442d (diff)
Merge commit 'refs/top-bases/t/bigmem' into t/bigmem
Diffstat (limited to 'sunrpc/xdr_ref.c')
-rw-r--r--sunrpc/xdr_ref.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/sunrpc/xdr_ref.c b/sunrpc/xdr_ref.c
index 8fb4584a75..2b7ebc8e11 100644
--- a/sunrpc/xdr_ref.c
+++ b/sunrpc/xdr_ref.c
@@ -54,11 +54,13 @@
* proc is the routine to handle the referenced structure.
*/
bool_t
-xdr_reference (xdrs, pp, size, proc)
- XDR *xdrs;
- caddr_t *pp; /* the pointer to work on */
- u_int size; /* size of the object pointed to */
- xdrproc_t proc; /* xdr routine to handle the object */
+xdr_reference (XDR *xdrs,
+ /* the pointer to work on */
+ caddr_t *pp,
+ /* size of the object pointed to */
+ u_int size,
+ /* xdr routine to handle the object */
+ xdrproc_t proc)
{
caddr_t loc = *pp;
bool_t stat;
@@ -113,11 +115,7 @@ libc_hidden_nolink_sunrpc (xdr_reference, GLIBC_2_0)
*
*/
bool_t
-xdr_pointer (xdrs, objpp, obj_size, xdr_obj)
- XDR *xdrs;
- char **objpp;
- u_int obj_size;
- xdrproc_t xdr_obj;
+xdr_pointer (XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj)
{
bool_t more_data;