Module: wine Branch: master Commit: e7ec428c479b4f10163a3f5b54e809f3bb70eb53 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e7ec428c479b4f10163a3f5b54...
Author: Francois Gouget fgouget@free.fr Date: Tue Jan 20 09:15:26 2009 +0100
wineconsole: Make some functions static.
---
programs/wineconsole/user.c | 2 +- programs/wineconsole/winecon_private.h | 1 - programs/wineconsole/winecon_user.h | 2 -- programs/wineconsole/wineconsole.c | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c index 1c00f31..391e833 100644 --- a/programs/wineconsole/user.c +++ b/programs/wineconsole/user.c @@ -318,7 +318,7 @@ void WCUSER_DumpTextMetric(const TEXTMETRIC* tm, DWORD ft) * * */ -BOOL WCUSER_AreFontsEqual(const struct config_data* config, const LOGFONT* lf) +static BOOL WCUSER_AreFontsEqual(const struct config_data* config, const LOGFONT* lf) { return lf->lfHeight == config->cell_height && lf->lfWeight == config->font_weight && diff --git a/programs/wineconsole/winecon_private.h b/programs/wineconsole/winecon_private.h index 7ea5dc0..9823a8b 100644 --- a/programs/wineconsole/winecon_private.h +++ b/programs/wineconsole/winecon_private.h @@ -83,7 +83,6 @@ 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 void WINECON_FetchCells(struct inner_data* data, int upd_tp, int upd_bm); extern int WINECON_GrabChanges(struct inner_data* data); extern VOID WINECON_SetConfig(struct inner_data* data, const struct config_data* cfg); diff --git a/programs/wineconsole/winecon_user.h b/programs/wineconsole/winecon_user.h index b630499..51db26c 100644 --- a/programs/wineconsole/winecon_user.h +++ b/programs/wineconsole/winecon_user.h @@ -48,8 +48,6 @@ extern BOOL WCUSER_GetProperties(struct inner_data*, BOOL); extern BOOL WCUSER_ValidateFont(const struct inner_data* data, const LOGFONT* lf); extern BOOL WCUSER_ValidateFontMetric(const struct inner_data* data, const TEXTMETRIC* tm, DWORD fontType); -extern BOOL WCUSER_AreFontsEqual(const struct config_data* config, - const LOGFONT* lf); extern HFONT WCUSER_CopyFont(struct config_data* config, HWND hWnd, const LOGFONT* lf, LONG* el); extern void WCUSER_FillLogFont(LOGFONT* lf, const WCHAR* name, diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c index 3626383..c5381af 100644 --- a/programs/wineconsole/wineconsole.c +++ b/programs/wineconsole/wineconsole.c @@ -64,7 +64,7 @@ static void WINECON_Usage(void) * * updates the local copy of cells (band to update) */ -void WINECON_FetchCells(struct inner_data* data, int upd_tp, int upd_bm) +static void WINECON_FetchCells(struct inner_data* data, int upd_tp, int upd_bm) { SERVER_START_REQ( read_console_output ) {