mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[LIBTIRPC] Do not declare global variables in a header
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user