Francois Gouget : wineconsole: Make WINECON_SetHistory{Mode, Size}() static.
Alexandre Julliard
julliard at winehq.org
Tue Jan 20 08:27:42 CST 2009
Module: wine
Branch: master
Commit: de58df0e8d0c83c57d094c5b9fb4ee6a75844752
URL: http://source.winehq.org/git/wine.git/?a=commit;h=de58df0e8d0c83c57d094c5b9fb4ee6a75844752
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Jan 20 09:16:20 2009 +0100
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 9823a8b..ca33ec6 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 c5381af..1c146df 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;
More information about the wine-cvs
mailing list