mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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_set_raddr(SVCXPRT *, const struct sockaddr_storage *);
|
||||
|
||||
|
||||
SVCXPRT **__svc_xports;
|
||||
int __svc_maxrec;
|
||||
extern SVCXPRT **__svc_xports;
|
||||
extern int __svc_maxrec;
|
||||
|
||||
__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;
|
||||
fd_set svc_fdset;
|
||||
int svc_maxfd = -1;
|
||||
|
||||
SVCXPRT **__svc_xports;
|
||||
int __svc_maxrec;
|
||||
|
|
Loading…
Reference in a new issue