From c52b2f128472b704b9e799f2626370c09258e689 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 24 May 2019 10:13:29 +0200 Subject: [PATCH] make_unicode: Remove duplicate DECLSPEC_HIDDEN. Spotted by Matteo Bruni. Signed-off-by: Alexandre Julliard --- dlls/dwrite/direction.c | 2 +- dlls/gdi32/direction.c | 2 +- dlls/kernel32/wctype.c | 2 +- dlls/usp10/direction.c | 2 +- tools/make_unicode | 5 ++--- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/dlls/dwrite/direction.c b/dlls/dwrite/direction.c index 6adbb73dfdd..aafd34250fd 100644 --- a/dlls/dwrite/direction.c +++ b/dlls/dwrite/direction.c @@ -3,7 +3,7 @@ #include "windef.h" -const unsigned short DECLSPEC_HIDDEN DECLSPEC_HIDDEN bidi_direction_table[4512] = +const unsigned short DECLSPEC_HIDDEN bidi_direction_table[4512] = { /* level 1 offsets */ 0x0100, 0x0110, 0x0120, 0x0130, 0x0140, 0x0150, 0x0160, 0x0170, diff --git a/dlls/gdi32/direction.c b/dlls/gdi32/direction.c index 6adbb73dfdd..aafd34250fd 100644 --- a/dlls/gdi32/direction.c +++ b/dlls/gdi32/direction.c @@ -3,7 +3,7 @@ #include "windef.h" -const unsigned short DECLSPEC_HIDDEN DECLSPEC_HIDDEN bidi_direction_table[4512] = +const unsigned short DECLSPEC_HIDDEN bidi_direction_table[4512] = { /* level 1 offsets */ 0x0100, 0x0110, 0x0120, 0x0130, 0x0140, 0x0150, 0x0160, 0x0170, diff --git a/dlls/kernel32/wctype.c b/dlls/kernel32/wctype.c index f335fac6688..cf25ccc66dd 100644 --- a/dlls/kernel32/wctype.c +++ b/dlls/kernel32/wctype.c @@ -3,7 +3,7 @@ #include "windef.h" -const unsigned short DECLSPEC_HIDDEN DECLSPEC_HIDDEN wctype_table[7664] = +const unsigned short DECLSPEC_HIDDEN wctype_table[7664] = { /* level 1 offsets */ 0x0100, 0x0110, 0x0120, 0x0130, 0x0140, 0x0150, 0x0160, 0x0170, diff --git a/dlls/usp10/direction.c b/dlls/usp10/direction.c index 6adbb73dfdd..aafd34250fd 100644 --- a/dlls/usp10/direction.c +++ b/dlls/usp10/direction.c @@ -3,7 +3,7 @@ #include "windef.h" -const unsigned short DECLSPEC_HIDDEN DECLSPEC_HIDDEN bidi_direction_table[4512] = +const unsigned short DECLSPEC_HIDDEN bidi_direction_table[4512] = { /* level 1 offsets */ 0x0100, 0x0110, 0x0120, 0x0130, 0x0140, 0x0150, 0x0160, 0x0170, diff --git a/tools/make_unicode b/tools/make_unicode index adf8c0fa3bd..4b79668a1a0 100755 --- a/tools/make_unicode +++ b/tools/make_unicode @@ -2251,7 +2251,7 @@ sub dump_string_type_table($) $table[$i] |= $c2_types{$direction_table[$i]} << 12 if defined $direction_table[$i]; } - dump_two_level_mapping( "DECLSPEC_HIDDEN wctype_table", 0, @table ); + dump_two_level_mapping( "wctype_table", 0, @table ); close OUTPUT; save_file($filename); @@ -2276,8 +2276,7 @@ sub dump_bidi_dir_table($) $table[$i] = $bidi_types{$direction_table[$i]} if defined $direction_table[$i]; } - dump_two_level_mapping( "DECLSPEC_HIDDEN bidi_direction_table", - $bidi_types{"L"}, @table ); + dump_two_level_mapping( "bidi_direction_table", $bidi_types{"L"}, @table ); close OUTPUT; save_file($filename);