Alex Henrie : ntdll/tests: Make RtlIpv6AddressToString test data static and constant.

Alexandre Julliard julliard at winehq.org
Thu May 28 17:11:09 CDT 2020


Module: wine
Branch: master
Commit: fef9849aae6521382d0414eca00034913db73faf
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=fef9849aae6521382d0414eca00034913db73faf

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Wed May 27 23:57:48 2020 -0600

ntdll/tests: Make RtlIpv6AddressToString test data static and constant.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/tests/rtl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
index 94c6b582f3..7a62670ea0 100644
--- a/dlls/ntdll/tests/rtl.c
+++ b/dlls/ntdll/tests/rtl.c
@@ -1711,7 +1711,7 @@ static void test_RtlIpv6AddressToString(void)
     LPCSTR result;
     IN6_ADDR ip;
     DWORD_PTR len;
-    struct
+    static const struct
     {
         PCSTR address;
         int ip[8];
@@ -1835,7 +1835,7 @@ static void test_RtlIpv6AddressToStringEx(void)
     NTSTATUS res;
     IN6_ADDR ip;
     ULONG len;
-    struct
+    static const struct
     {
         PCSTR address;
         ULONG scopeid;




More information about the wine-cvs mailing list