https://git.reactos.org/?p=reactos.git;a=commitdiff;h=590e36479cd39433553026...
commit 590e36479cd394335530269b7cebe858847e0e81 Author: Victor Perevertkin victor.perevertkin@reactos.org AuthorDate: Tue Apr 26 02:30:23 2022 +0300 Commit: Victor Perevertkin victor.perevertkin@reactos.org CommitDate: Tue Apr 26 03:38:37 2022 +0300
[WS2_32_APITEST] Convert global variables to static ones --- modules/rostests/apitests/ws2_32/bind.c | 2 +- modules/rostests/apitests/ws2_32/getaddrinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/rostests/apitests/ws2_32/bind.c b/modules/rostests/apitests/ws2_32/bind.c index bf9069d1697..2ff5524db1e 100644 --- a/modules/rostests/apitests/ws2_32/bind.c +++ b/modules/rostests/apitests/ws2_32/bind.c @@ -7,7 +7,7 @@
#include "ws2_32.h"
-CHAR LocalAddress[sizeof("255.255.255.255")]; +static CHAR LocalAddress[sizeof("255.255.255.255")]; #define PORT 58888
static diff --git a/modules/rostests/apitests/ws2_32/getaddrinfo.c b/modules/rostests/apitests/ws2_32/getaddrinfo.c index c06ca268c16..3fd915da9ad 100644 --- a/modules/rostests/apitests/ws2_32/getaddrinfo.c +++ b/modules/rostests/apitests/ws2_32/getaddrinfo.c @@ -27,7 +27,7 @@ ok_dec(((SOCKADDR_IN *)(sockaddr))->sin_zero[_i], 0); \ } while (0)
-CHAR LocalAddress[sizeof("255.255.255.255")]; +static CHAR LocalAddress[sizeof("255.255.255.255")];
static VOID