mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:22:58 +00:00
[LIBTIRPC] Do not declare global variables in a header
This commit is contained in:
parent
6e5d80df69
commit
5632aa5d82
2 changed files with 5 additions and 3 deletions
5
dll/3rdparty/libtirpc/src/rpc_com.h
vendored
5
dll/3rdparty/libtirpc/src/rpc_com.h
vendored
|
@ -92,9 +92,8 @@ bool_t __xdrrec_getrec(XDR *, enum xprt_stat *, bool_t);
|
||||||
void __xprt_unregister_unlocked(SVCXPRT *);
|
void __xprt_unregister_unlocked(SVCXPRT *);
|
||||||
void __xprt_set_raddr(SVCXPRT *, const struct sockaddr_storage *);
|
void __xprt_set_raddr(SVCXPRT *, const struct sockaddr_storage *);
|
||||||
|
|
||||||
|
extern SVCXPRT **__svc_xports;
|
||||||
SVCXPRT **__svc_xports;
|
extern int __svc_maxrec;
|
||||||
int __svc_maxrec;
|
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
|
3
dll/3rdparty/libtirpc/src/rpc_commondata.c
vendored
3
dll/3rdparty/libtirpc/src/rpc_commondata.c
vendored
|
@ -37,3 +37,6 @@
|
||||||
struct opaque_auth _null_auth;
|
struct opaque_auth _null_auth;
|
||||||
fd_set svc_fdset;
|
fd_set svc_fdset;
|
||||||
int svc_maxfd = -1;
|
int svc_maxfd = -1;
|
||||||
|
|
||||||
|
SVCXPRT **__svc_xports;
|
||||||
|
int __svc_maxrec;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue