From 6ed3d79dbd1183557098755d89dbb414c1ce1b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20Sch=C3=B6pf?= Date: Mon, 21 Jun 2004 22:56:37 +0000 Subject: [PATCH] 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 --- src/rx/xdr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rx/xdr.h b/src/rx/xdr.h index ca18695f98..b13983b124 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 /*