mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 22:18:13 +00:00
[NCFTP] declare DisposeWinsock as static
This commit is contained in:
parent
597660a4b7
commit
13dad0231a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
WSADATA wsaData;
|
WSADATA wsaData;
|
||||||
int wsaInit = 0;
|
int wsaInit = 0;
|
||||||
|
|
||||||
__inline void DisposeWinsock(int aUNUSED) { if (wsaInit > 0) WSACleanup(); wsaInit--; }
|
static __inline void DisposeWinsock(int aUNUSED) { if (wsaInit > 0) WSACleanup(); wsaInit--; }
|
||||||
#else
|
#else
|
||||||
# define DisposeWinsock(a)
|
# define DisposeWinsock(a)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue