mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
2002-08-05 Roland McGrath <roland@redhat.com>
* include/rpc/svc.h: Use libc_hidden_proto for xprt_register, xprt_unregister. * sunrpc/svc.c: Add libc_hidden_def. * include/rpc/pmap_clnt.h: Use libc_hidden_proto for pmap_getport, pmap_set, pmap_unset. * sunrpc/pmap_clnt.c: Add libc_hidden_def. * sunrpc/pm_getport.c: Likewise. * include/rpc/auth_des.h: Use libc_hidden_proto for getpublickey. * sunrpc/publickey.c: Add libc_hidden_def.
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <sunrpc/rpc/auth_des.h>
|
||||
|
||||
libc_hidden_proto (getpublickey)
|
||||
|
||||
extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
|
||||
extern bool_t xdr_authdes_verf (register XDR *xdrs,
|
||||
register struct authdes_verf *verf);
|
||||
|
||||
@@ -1 +1,8 @@
|
||||
#include <sunrpc/rpc/pmap_clnt.h>
|
||||
#ifndef _RPC_PMAP_CLNT_H
|
||||
# include <sunrpc/rpc/pmap_clnt.h>
|
||||
|
||||
libc_hidden_proto (pmap_getport)
|
||||
libc_hidden_proto (pmap_set)
|
||||
libc_hidden_proto (pmap_unset)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _RPC_SVC_H
|
||||
#include <sunrpc/rpc/svc.h>
|
||||
|
||||
libc_hidden_proto (xprt_register)
|
||||
libc_hidden_proto (xprt_unregister)
|
||||
|
||||
/* Now define the internal interfaces. */
|
||||
extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
|
||||
char *(*progname) (char *), xdrproc_t inproc,
|
||||
|
||||
Reference in New Issue
Block a user