]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sunrpc/xdr_ref.c
sunrpc: Improvements for UDP client timeout handling [BZ #20257]
[thirdparty/glibc.git] / sunrpc / xdr_ref.c
index 8fb4584a75c4fd54fb7e210e8657cba22cc1df21..2b7ebc8e11ca4dab20877cbaec042666195c6f7f 100644 (file)
  * 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;