From: Rainer Schöpf Date: Mon, 21 Jun 2004 22:56:37 +0000 (+0000) Subject: rx-xdr-deal-with-linux26-regparm-20040621 X-Git-Tag: openafs-devel-1_3_65~26 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=6ed3d79dbd1183557098755d89dbb414c1ce1b89 rx-xdr-deal-with-linux26-regparm-20040621 deal with regparm side effects in xdr calls. no clue if this works without regparm yet, that might actually be an issue --- diff --git a/src/rx/xdr.h b/src/rx/xdr.h index ca18695..b13983b 100644 --- a/src/rx/xdr.h +++ b/src/rx/xdr.h @@ -172,8 +172,12 @@ enum xdr_op { #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 /*