From 38ffa111190548f2648f15dd7f1d3469c7f96e08 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Wed, 7 Oct 2009 17:14:08 -0500 Subject: [PATCH] xdrproc_t functions take a caddr_t, not caddr_t* Callers of xdrproc_t functions give the function a foo* as the second argument, not a foo**, and the xdrproc_t functions themselves expect this. Make the xdrproc_t typedef accurately reflect that, thereby ridding us of some warnings. Reviewed-on: http://gerrit.openafs.org/603 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- src/rx/xdr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/xdr.h b/src/rx/xdr.h index 8809d2259..858a0b25a 100644 --- a/src/rx/xdr.h +++ b/src/rx/xdr.h @@ -178,7 +178,7 @@ enum xdr_op { typedef bool_t(*xdrproc_t) (); #else #ifdef AFS_I386_LINUX26_ENV -typedef bool_t(*xdrproc_t) (void *, caddr_t *, u_int); +typedef bool_t(*xdrproc_t) (void *, caddr_t, u_int); #else typedef bool_t(*xdrproc_t) (void *, ...); #endif -- 2.39.5