X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fwin32%2Flibtirpc%2Fsrc%2Fauth_unix.c;h=9119eede98680aaafd692d9ff73f1cd208cee44e;hp=0844aa5939161b538632a64834a6cb66b484ce14;hb=962da983407626abd2cd739d13cbce077c4bce5c;hpb=080086f7e72e7c3d1f0dc78a0f37db9530ad4d06 diff --git a/reactos/dll/win32/libtirpc/src/auth_unix.c b/reactos/dll/win32/libtirpc/src/auth_unix.c index 0844aa59391..9119eede986 100644 --- a/reactos/dll/win32/libtirpc/src/auth_unix.c +++ b/reactos/dll/win32/libtirpc/src/auth_unix.c @@ -376,10 +376,21 @@ marshal_new_auth(auth) } static bool_t +#ifndef __REACTOS__ authunix_wrap(AUTH *auth, XDR *xdrs, xdrproc_t func, caddr_t args, u_int seq) +#else +authunix_wrap(AUTH *auth, XDR *xdrs, xdrproc_t func, caddr_t args) +#endif { return ((*func)(xdrs, args)); } +#ifdef __REACTOS__ +static bool_t +authunix_unwrap(AUTH *auth, XDR *xdrs, xdrproc_t func, caddr_t args, u_int seq) +{ + return ((*func)(xdrs, args)); +} +#endif static struct auth_ops * authunix_ops() @@ -397,7 +408,11 @@ authunix_ops() ops.ah_refresh = authunix_refresh; ops.ah_destroy = authunix_destroy; ops.ah_wrap = authunix_wrap; +#ifndef __REACTOS__ ops.ah_unwrap = authunix_wrap; +#else + ops.ah_unwrap = authunix_unwrap; +#endif } mutex_unlock(&ops_lock); return (&ops);