Francois Gouget : wineconsole: WINECON_GetHistory{Mode,Size}() are unused so remove them.

Alexandre Julliard julliard at winehq.org
Mon Jan 26 10:14:29 CST 2009


Module: wine
Branch: master
Commit: 0a6665bfefefacef4821177b09603d2dbf30be8f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a6665bfefefacef4821177b09603d2dbf30be8f

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jan 26 12:51:37 2009 +0100

wineconsole: WINECON_GetHistory{Mode,Size}() are unused so remove them.

---

 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
  *




More information about the wine-cvs mailing list