rx-xdr-deal-with-linux26-regparm-20040621
authorRainer Schöpf <rainer.schoepf@proteosys.com>
Mon, 21 Jun 2004 22:56:37 +0000 (22:56 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 21 Jun 2004 22:56:37 +0000 (22:56 +0000)
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

index ca18695..b13983b 100644 (file)
@@ -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
 
 
 /*