From 07c58f8f3501329340bf3c69a347f7c8fdcbe528 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 21 May 2012 21:34:05 +0200 Subject: Fix sunrpc static library * include/shlib-compat.h (libc_sunrpc_symbol): New macro. * sunrpc/svc_simple.c: Use it for registerrpc. * sunrpc/xcrypt.c: Use it for passwd2des. --- sunrpc/svc_simple.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sunrpc/svc_simple.c') diff --git a/sunrpc/svc_simple.c b/sunrpc/svc_simple.c index b8ba4ab387..baa177eec0 100644 --- a/sunrpc/svc_simple.c +++ b/sunrpc/svc_simple.c @@ -43,6 +43,7 @@ #include #include +#include struct proglst_ { @@ -121,7 +122,9 @@ __registerrpc (u_long prognum, u_long versnum, u_long procnum, free (buf); return -1; } -compat_symbol (libc, __registerrpc, registerrpc, GLIBC_2_0); + +libc_sunrpc_symbol (__registerrpc, registerrpc, GLIBC_2_0) + static void universal (struct svc_req *rqstp, SVCXPRT *transp_l) -- cgit v1.2.3