tUpdate client stub functions to match the "real" functions. - vaccinewars - be… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 4502a7b97717ff8350374acdcf913a8d635a6bbb | |
parent 95aa001c87926e74edbcc0b782c5bba89a25ef25 | |
Author: Ben Webb <[email protected]> | |
Date: Wed, 23 Oct 2002 09:21:48 +0000 | |
Update client stub functions to match the "real" functions. | |
Diffstat: | |
M src/dopewars.c | 7 ++++--- | |
M src/dopewars.h | 7 ++++--- | |
2 files changed, 8 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/src/dopewars.c b/src/dopewars.c | |
t@@ -2887,7 +2887,7 @@ static void ServerLogMessage(const gchar *log_domain, | |
* Stub function to report an error if the Curses client is requested and | |
* it isn't compiled in. | |
*/ | |
-void CursesLoop(void) | |
+void CursesLoop(struct CMDLINE *cmdline) | |
{ | |
g_print(_("No curses client available - rebuild the binary passing the\n" | |
"--enable-curses-client option to configure, or use a windowed\n" | |
t@@ -2902,9 +2902,10 @@ void CursesLoop(void) | |
*/ | |
#ifdef CYGWIN | |
gboolean GtkLoop(HINSTANCE hInstance, HINSTANCE hPrevInstance, | |
- gboolean ReturnOnFail) | |
+ struct CMDLINE *cmdline, gboolean ReturnOnFail) | |
#else | |
-gboolean GtkLoop(int *argc, char **argv[], gboolean ReturnOnFail) | |
+gboolean GtkLoop(int *argc, char **argv[], struct CMDLINE *cmdline, | |
+ gboolean ReturnOnFail) | |
#endif | |
{ | |
if (!ReturnOnFail) { | |
diff --git a/src/dopewars.h b/src/dopewars.h | |
t@@ -456,15 +456,16 @@ gchar *GetGlobalConfigFile(void); | |
gchar *GetLocalConfigFile(void); | |
#ifndef CURSES_CLIENT | |
-void CursesLoop(void); | |
+void CursesLoop(struct CMDLINE *cmdline); | |
#endif | |
#ifndef GUI_CLIENT | |
#ifdef CYGWIN | |
gboolean GtkLoop(HINSTANCE hInstance, HINSTANCE hPrevInstance, | |
- gboolean ReturnOnFail); | |
+ struct CMDLINE *cmdline, gboolean ReturnOnFail); | |
#else | |
-gboolean GtkLoop(int *argc, char **argv[], gboolean ReturnOnFail); | |
+gboolean GtkLoop(int *argc, char **argv[], struct CMDLINE *cmdline, | |
+ gboolean ReturnOnFail); | |
#endif | |
#endif | |