mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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 <sxw@inf.ed.ac.uk> Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
008eb3c011
commit
167e1aa21f
@ -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
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user