https://git.reactos.org/?p=reactos.git;a=commitdiff;h=13dad0231a91ada4735d6…
commit 13dad0231a91ada4735d63c08c6354d9c016e815
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Tue Nov 10 14:25:54 2020 +0100
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Mon Nov 16 16:58:10 2020 +0100
[NCFTP] declare DisposeWinsock as static
---
modules/rosapps/applications/net/ncftp/ncftp/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rosapps/applications/net/ncftp/ncftp/main.c
b/modules/rosapps/applications/net/ncftp/ncftp/main.c
index 418aa60a53c..189202d711b 100644
--- a/modules/rosapps/applications/net/ncftp/ncftp/main.c
+++ b/modules/rosapps/applications/net/ncftp/ncftp/main.c
@@ -24,7 +24,7 @@
WSADATA wsaData;
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
# define DisposeWinsock(a)
#endif