Zebediah Figura : ntdll: Make wine_build a hidden symbol.
Alexandre Julliard
julliard at winehq.org
Fri Aug 13 14:44:13 CDT 2021
Module: wine
Branch: master
Commit: a8d2de6092bb58cd0d0c3cdc27eb429843f08bf3
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a8d2de6092bb58cd0d0c3cdc27eb429843f08bf3
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Thu Aug 12 19:48:09 2021 -0500
ntdll: Make wine_build a hidden symbol.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/loader.c | 1 -
dlls/ntdll/unix/system.c | 1 -
dlls/ntdll/unix/unix_private.h | 2 ++
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c
index 7d9635db535..5edc845009f 100644
--- a/dlls/ntdll/unix/loader.c
+++ b/dlls/ntdll/unix/loader.c
@@ -2220,7 +2220,6 @@ static void check_command_line( int argc, char *argv[] )
}
if (!strcmp( argv[1], "--version" ))
{
- extern const char wine_build[];
printf( "%s\n", wine_build );
exit(0);
}
diff --git a/dlls/ntdll/unix/system.c b/dlls/ntdll/unix/system.c
index 94961ed524e..cc4b283ffc7 100644
--- a/dlls/ntdll/unix/system.c
+++ b/dlls/ntdll/unix/system.c
@@ -2886,7 +2886,6 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
case SystemWineVersionInformation: /* 1000 */
{
static const char version[] = PACKAGE_VERSION;
- extern const char wine_build[];
struct utsname buf;
uname( &buf );
diff --git a/dlls/ntdll/unix/unix_private.h b/dlls/ntdll/unix/unix_private.h
index 9c6c323298c..18c58a6431e 100644
--- a/dlls/ntdll/unix/unix_private.h
+++ b/dlls/ntdll/unix/unix_private.h
@@ -116,6 +116,8 @@ extern NTSTATUS CDECL fast_wait_cv( RTL_CONDITION_VARIABLE *variable, const void
extern NTSTATUS CDECL unwind_builtin_dll( ULONG type, struct _DISPATCHER_CONTEXT *dispatch,
CONTEXT *context ) DECLSPEC_HIDDEN;
+extern const char wine_build[] DECLSPEC_HIDDEN;
+
extern const char *home_dir DECLSPEC_HIDDEN;
extern const char *data_dir DECLSPEC_HIDDEN;
extern const char *build_dir DECLSPEC_HIDDEN;
More information about the wine-cvs
mailing list