Commit 43f822bc authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

kernel32: Remove no longer used bare console support.

parent 54e11701
...@@ -2,7 +2,6 @@ EXTRADEFS = -D_KERNEL32_ -D_NORMALIZE_ ...@@ -2,7 +2,6 @@ EXTRADEFS = -D_KERNEL32_ -D_NORMALIZE_
MODULE = kernel32.dll MODULE = kernel32.dll
IMPORTLIB = kernel32 IMPORTLIB = kernel32
IMPORTS = winecrt0 kernelbase ntdll IMPORTS = winecrt0 kernelbase ntdll
EXTRALIBS = $(COREFOUNDATION_LIBS) $(POLL_LIBS) $(RT_LIBS)
EXTRADLLFLAGS = -nodefaultlibs -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b600000 EXTRADLLFLAGS = -nodefaultlibs -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b600000
C_SRCS = \ C_SRCS = \
...@@ -26,7 +25,6 @@ C_SRCS = \ ...@@ -26,7 +25,6 @@ C_SRCS = \
resource.c \ resource.c \
sync.c \ sync.c \
tape.c \ tape.c \
term.c \
thread.c \ thread.c \
toolhelp.c \ toolhelp.c \
version.c \ version.c \
......
...@@ -31,10 +31,4 @@ extern BOOL CONSOLE_GetEditionMode(HANDLE, int*) DECLSPEC_HIDDEN; ...@@ -31,10 +31,4 @@ extern BOOL CONSOLE_GetEditionMode(HANDLE, int*) DECLSPEC_HIDDEN;
/* editline.c */ /* editline.c */
extern WCHAR* CONSOLE_Readline(HANDLE, BOOL) DECLSPEC_HIDDEN; extern WCHAR* CONSOLE_Readline(HANDLE, BOOL) DECLSPEC_HIDDEN;
/* term.c */
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 */ #endif /* __WINE_CONSOLE_PRIVATE_H */
...@@ -162,7 +162,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) ...@@ -162,7 +162,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
return process_attach( hinst ); return process_attach( hinst );
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
WritePrivateProfileSectionW( NULL, NULL, NULL ); WritePrivateProfileSectionW( NULL, NULL, NULL );
CONSOLE_Exit();
break; break;
} }
return TRUE; return TRUE;
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
NTSTATUS WINAPI BaseGetNamedObjectDirectory( HANDLE *dir ); NTSTATUS WINAPI BaseGetNamedObjectDirectory( HANDLE *dir );
BOOL CONSOLE_Init(RTL_USER_PROCESS_PARAMETERS *params) DECLSPEC_HIDDEN; BOOL CONSOLE_Init(RTL_USER_PROCESS_PARAMETERS *params) DECLSPEC_HIDDEN;
BOOL CONSOLE_Exit(void) DECLSPEC_HIDDEN;
static inline BOOL is_console_handle(HANDLE h) static inline BOOL is_console_handle(HANDLE h)
{ {
...@@ -50,9 +49,6 @@ static inline BOOL set_ntstatus( NTSTATUS status ) ...@@ -50,9 +49,6 @@ static inline BOOL set_ntstatus( NTSTATUS status )
return !status; return !status;
} }
/* Some Wine specific values for Console inheritance (params->ConsoleHandle) */
#define KERNEL32_CONSOLE_SHELL ((HANDLE)2)
extern HMODULE kernel32_handle DECLSPEC_HIDDEN; extern HMODULE kernel32_handle DECLSPEC_HIDDEN;
extern SYSTEM_BASIC_INFORMATION system_info DECLSPEC_HIDDEN; extern SYSTEM_BASIC_INFORMATION system_info DECLSPEC_HIDDEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment