From de58df0e8d0c83c57d094c5b9fb4ee6a75844752 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 20 Jan 2009 09:16:20 +0100 Subject: [PATCH] wineconsole: Make WINECON_SetHistory{Mode,Size}() static. --- programs/wineconsole/winecon_private.h | 2 -- programs/wineconsole/wineconsole.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/programs/wineconsole/winecon_private.h b/programs/wineconsole/winecon_private.h index 9823a8b67c7..ca33ec61fe5 100644 --- a/programs/wineconsole/winecon_private.h +++ b/programs/wineconsole/winecon_private.h @@ -79,9 +79,7 @@ struct inner_data { extern void WINECON_Fatal(const char* msg); extern void WINECON_NotifyWindowChange(struct inner_data* data); extern int WINECON_GetHistorySize(HANDLE hConIn); -extern BOOL WINECON_SetHistorySize(HANDLE hConIn, int size); extern int WINECON_GetHistoryMode(HANDLE hConIn); -extern BOOL WINECON_SetHistoryMode(HANDLE hConIn, int mode); extern BOOL WINECON_GetConsoleTitle(HANDLE hConIn, WCHAR* buffer, size_t len); extern int WINECON_GrabChanges(struct inner_data* data); extern VOID WINECON_SetConfig(struct inner_data* data, diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c index c5381af9128..1c146df6bd2 100644 --- a/programs/wineconsole/wineconsole.c +++ b/programs/wineconsole/wineconsole.c @@ -124,7 +124,7 @@ int WINECON_GetHistorySize(HANDLE hConIn) * * */ -BOOL WINECON_SetHistorySize(HANDLE hConIn, int size) +static BOOL WINECON_SetHistorySize(HANDLE hConIn, int size) { BOOL ret; @@ -163,7 +163,7 @@ int WINECON_GetHistoryMode(HANDLE hConIn) * * */ -BOOL WINECON_SetHistoryMode(HANDLE hConIn, int mode) +static BOOL WINECON_SetHistoryMode(HANDLE hConIn, int mode) { BOOL ret;