From: Derrick Brashear Date: Fri, 29 Jan 2010 05:03:07 +0000 (-0500) Subject: xdrproc_t probably not really different on linux26 X-Git-Tag: openafs-devel-1_5_71~7 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=167e1aa21f5bbea1272b239dc6518a7bdbfc3ee6;p=packages%2Fo%2Fopenafs.git xdrproc_t probably not really different on linux26 for some reason we prototype it differently. makes xdr_free sad. Change-Id: Icd6060acd922314fc400aa2fe360c662ec705fa6 Reviewed-on: http://gerrit.openafs.org/1179 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/rx/xdr.h b/src/rx/xdr.h index 677952e62..c91d17a59 100644 --- a/src/rx/xdr.h +++ b/src/rx/xdr.h @@ -174,15 +174,7 @@ enum xdr_op { * allocate dynamic storage of the appropriate size and return it. * bool_t (*xdrproc_t)(XDR *, caddr_t *); */ -#if 0 -typedef bool_t(*xdrproc_t) (); -#else -#ifdef AFS_I386_LINUX26_ENV -typedef bool_t(*xdrproc_t) (void *, caddr_t, u_int); -#else typedef bool_t(*xdrproc_t) (void *, ...); -#endif -#endif /*