wineconsole: WINECON_GetHistory{Mode,Size}() are unused so remove them.
Francois Gouget
fgouget at free.fr
Mon Jan 26 05:51:37 CST 2009
---
We now retrieve all the console properties at once instead of retrieving
them one by one. The get_console_input_info server call is still used in
other places so there is no impact on that side.
programs/wineconsole/wineconsole.c | 37 ------------------------------------
1 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index 1c146df..0e57176 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -102,24 +102,6 @@ void WINECON_NotifyWindowChange(struct inner_data* data)
}
/******************************************************************
- * WINECON_GetHistorySize
- *
- *
- */
-int WINECON_GetHistorySize(HANDLE hConIn)
-{
- int ret = 0;
-
- SERVER_START_REQ(get_console_input_info)
- {
- req->handle = wine_server_obj_handle( hConIn );
- if (!wine_server_call_err( req )) ret = reply->history_size;
- }
- SERVER_END_REQ;
- return ret;
-}
-
-/******************************************************************
* WINECON_SetHistorySize
*
*
@@ -139,25 +121,6 @@ static BOOL WINECON_SetHistorySize(HANDLE hConIn, int size)
return ret;
}
-
-/******************************************************************
- * WINECON_GetHistoryMode
- *
- *
- */
-int WINECON_GetHistoryMode(HANDLE hConIn)
-{
- int ret = 0;
-
- SERVER_START_REQ(get_console_input_info)
- {
- req->handle = wine_server_obj_handle( hConIn );
- if (!wine_server_call_err( req )) ret = reply->history_mode;
- }
- SERVER_END_REQ;
- return ret;
-}
-
/******************************************************************
* WINECON_SetHistoryMode
*
--
1.5.6.5
More information about the wine-patches
mailing list