git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
xdr_proc_t really is different on linux26_i386
[openafs.git]
/
src
/
rx
/
xdr.c
diff --git
a/src/rx/xdr.c
b/src/rx/xdr.c
index
4481c39
..
e05293e
100644
(file)
--- a/
src/rx/xdr.c
+++ b/
src/rx/xdr.c
@@
-594,6
+594,12
@@
xdr_free(xdrproc_t proc, void *obj)
XDR x;
x.x_op = XDR_FREE;
+
+ /* See note in xdr.h for the method behind this madness */
+#if defined(AFS_I386_LINUX26_ENV) && defined(KERNEL) && !defined(UKERNEL)
+ (*proc)(&x, obj, 0);
+#else
(*proc)(&x, obj);
+#endif
}
#endif /* NeXT */