From 42a294b0d4e4cec3708c059e515174c60f52cb6e Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 21 Apr 2011 10:23:57 +0200 Subject: [PATCH] kernel32: Mark more internal symbols as invisible. --- dlls/kernel32/console_private.h | 22 ++++++++++---------- dlls/kernel32/kernel_private.h | 36 ++++++++++++++++----------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/dlls/kernel32/console_private.h b/dlls/kernel32/console_private.h index d4bc9961a07..dc487009004 100644 --- a/dlls/kernel32/console_private.h +++ b/dlls/kernel32/console_private.h @@ -22,21 +22,21 @@ #define __WINE_CONSOLE_PRIVATE_H /* console.c */ -extern int CONSOLE_HandleCtrlC(unsigned); +extern int CONSOLE_HandleCtrlC(unsigned) DECLSPEC_HIDDEN; /* console.c */ -extern int CONSOLE_GetHistory(int idx, WCHAR* buf, int buf_len); -extern BOOL CONSOLE_AppendHistory(const WCHAR *p); -extern unsigned CONSOLE_GetNumHistoryEntries(void); -extern void CONSOLE_FillLineUniform(HANDLE hConsoleOutput, int i, int j, int len, LPCHAR_INFO lpFill); -extern BOOL CONSOLE_GetEditionMode(HANDLE, int*); +extern int CONSOLE_GetHistory(int idx, WCHAR* buf, int buf_len) DECLSPEC_HIDDEN; +extern BOOL CONSOLE_AppendHistory(const WCHAR *p) DECLSPEC_HIDDEN; +extern unsigned CONSOLE_GetNumHistoryEntries(void) DECLSPEC_HIDDEN; +extern void CONSOLE_FillLineUniform(HANDLE hConsoleOutput, int i, int j, int len, LPCHAR_INFO lpFill) DECLSPEC_HIDDEN; +extern BOOL CONSOLE_GetEditionMode(HANDLE, int*) DECLSPEC_HIDDEN; /* editline.c */ -extern WCHAR* CONSOLE_Readline(HANDLE, BOOL); +extern WCHAR* CONSOLE_Readline(HANDLE, BOOL) DECLSPEC_HIDDEN; /* term.c */ -extern BOOL TERM_Init(void); -extern BOOL TERM_Exit(void); -extern unsigned TERM_FillSimpleChar(WCHAR real_inchar, INPUT_RECORD* ir); -extern int TERM_FillInputRecord(const char* in, size_t len, INPUT_RECORD* ir); +extern BOOL TERM_Init(void) DECLSPEC_HIDDEN; +extern BOOL TERM_Exit(void) DECLSPEC_HIDDEN; +extern unsigned TERM_FillSimpleChar(WCHAR real_inchar, INPUT_RECORD* ir) DECLSPEC_HIDDEN; +extern int TERM_FillInputRecord(const char* in, size_t len, INPUT_RECORD* ir) DECLSPEC_HIDDEN; #endif /* __WINE_CONSOLE_PRIVATE_H */ diff --git a/dlls/kernel32/kernel_private.h b/dlls/kernel32/kernel_private.h index f180e7d0580..feeeb556963 100644 --- a/dlls/kernel32/kernel_private.h +++ b/dlls/kernel32/kernel_private.h @@ -28,8 +28,8 @@ BOOL WINAPI VerifyConsoleIoHandle(HANDLE); HANDLE WINAPI DuplicateConsoleHandle(HANDLE, DWORD, BOOL, DWORD); BOOL WINAPI CloseConsoleHandle(HANDLE handle); HANDLE WINAPI GetConsoleInputWaitHandle(void); -BOOL CONSOLE_Init(RTL_USER_PROCESS_PARAMETERS *params); -BOOL CONSOLE_Exit(void); +BOOL CONSOLE_Init(RTL_USER_PROCESS_PARAMETERS *params) DECLSPEC_HIDDEN; +BOOL CONSOLE_Exit(void) DECLSPEC_HIDDEN; static inline BOOL is_console_handle(HANDLE h) { @@ -52,15 +52,15 @@ static inline obj_handle_t console_handle_unmap(HANDLE h) #define KERNEL32_CONSOLE_ALLOC ((HANDLE)1) #define KERNEL32_CONSOLE_SHELL ((HANDLE)2) -extern HMODULE kernel32_handle; +extern HMODULE kernel32_handle DECLSPEC_HIDDEN; -extern const WCHAR *DIR_Windows; -extern const WCHAR *DIR_System; -extern const WCHAR *DIR_SysWow64; +extern const WCHAR *DIR_Windows DECLSPEC_HIDDEN; +extern const WCHAR *DIR_System DECLSPEC_HIDDEN; +extern const WCHAR *DIR_SysWow64 DECLSPEC_HIDDEN; -extern void FILE_SetDosError(void); -extern WCHAR *FILE_name_AtoW( LPCSTR name, BOOL alloc ); -extern DWORD FILE_name_WtoA( LPCWSTR src, INT srclen, LPSTR dest, INT destlen ); +extern void FILE_SetDosError(void) DECLSPEC_HIDDEN; +extern WCHAR *FILE_name_AtoW( LPCSTR name, BOOL alloc ) DECLSPEC_HIDDEN; +extern DWORD FILE_name_WtoA( LPCWSTR src, INT srclen, LPSTR dest, INT destlen ) DECLSPEC_HIDDEN; /* return values for MODULE_GetBinaryType */ enum binary_type @@ -86,25 +86,25 @@ struct binary_info }; /* module.c */ -extern WCHAR *MODULE_get_dll_load_path( LPCWSTR module ); -extern void MODULE_get_binary_info( HANDLE hfile, struct binary_info *info ); +extern WCHAR *MODULE_get_dll_load_path( LPCWSTR module ) DECLSPEC_HIDDEN; +extern void MODULE_get_binary_info( HANDLE hfile, struct binary_info *info ) DECLSPEC_HIDDEN; -extern BOOL NLS_IsUnicodeOnlyLcid(LCID); +extern BOOL NLS_IsUnicodeOnlyLcid(LCID) DECLSPEC_HIDDEN; /* environ.c */ -extern void ENV_CopyStartupInformation(void); +extern void ENV_CopyStartupInformation(void) DECLSPEC_HIDDEN; /* computername.c */ -extern void COMPUTERNAME_Init(void); +extern void COMPUTERNAME_Init(void) DECLSPEC_HIDDEN; /* locale.c */ -extern void LOCALE_Init(void); -extern void LOCALE_InitRegistry(void); +extern void LOCALE_Init(void) DECLSPEC_HIDDEN; +extern void LOCALE_InitRegistry(void) DECLSPEC_HIDDEN; /* oldconfig.c */ -extern void convert_old_config(void); +extern void convert_old_config(void) DECLSPEC_HIDDEN; /* returns directory handle for named objects */ -extern HANDLE get_BaseNamedObjects_handle(void); +extern HANDLE get_BaseNamedObjects_handle(void) DECLSPEC_HIDDEN; #endif