mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 22:43:22 +01:00
Move definitions out of rpc_com so that the linker doesn't complain about
multiple definitions. Reported by: sbruno
This commit is contained in:
parent
f3c447c445
commit
635d1cf108
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264196
@ -86,8 +86,8 @@ bool_t __xdrrec_setnonblock(XDR *, int);
|
||||
bool_t __xdrrec_getrec(XDR *, enum xprt_stat *, bool_t);
|
||||
void __xprt_unregister_unlocked(SVCXPRT *);
|
||||
|
||||
SVCXPRT **__svc_xports;
|
||||
int __svc_maxrec;
|
||||
extern SVCXPRT **__svc_xports;
|
||||
extern int __svc_maxrec;
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
@ -84,6 +84,9 @@ static struct svc_callout {
|
||||
void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
|
||||
} *svc_head;
|
||||
|
||||
SVCXPRT **__svc_xports;
|
||||
int __svc_maxrec;
|
||||
|
||||
static struct svc_callout *svc_find(rpcprog_t, rpcvers_t,
|
||||
struct svc_callout **, char *);
|
||||
static void __xprt_do_unregister (SVCXPRT *xprt, bool_t dolock);
|
||||
|
Loading…
Reference in New Issue
Block a user