Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] (PR#2455) dead functions in GUI interface
Home

[Freeciv-Dev] (PR#2455) dead functions in GUI interface

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2455) dead functions in GUI interface
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 29 Nov 2002 21:46:41 -0800
Reply-to: rt@xxxxxxxxxxxxxx

The attached patch removes some dead functions from the GUI interface. 
These functions are never called by the client code, and are not
implemented for most GUIs.  Some GUIs implement some of them (used
internally), and some GUIs have stub implementations.

Without fixes for the GUIs, this is incomplete.  Patches are welcome.

jason


Index: client/include/colors_g.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/include/colors_g.h,v
retrieving revision 1.5
diff -u -r1.5 colors_g.h
--- client/include/colors_g.h   2002/09/28 01:36:23     1.5
+++ client/include/colors_g.h   2002/11/30 05:43:12
@@ -31,9 +31,6 @@
   BW_DISPLAY, GRAYSCALE_DISPLAY, COLOR_DISPLAY
 };
 
-enum Display_color_type get_visual(void);
 void init_color_system(void);
-void free_color_system(void);
-void color_error(void);
 
 #endif  /* FC__COLORS_G_H */
Index: client/include/helpdlg_g.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/include/helpdlg_g.h,v
retrieving revision 1.8
diff -u -r1.8 helpdlg_g.h
--- client/include/helpdlg_g.h  2002/08/07 11:21:44     1.8
+++ client/include/helpdlg_g.h  2002/11/30 05:43:12
@@ -17,7 +17,6 @@
                      HELP_WONDER, HELP_TECH, HELP_TERRAIN,
                       HELP_GOVERNMENT };
 
-void popup_help_dialog(int item);
 void popup_help_dialog_string(const char *item);
 void popup_help_dialog_typed(const char *item, enum help_page_type);
 void popdown_help_dialog(void);
Index: client/include/repodlgs_g.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/include/repodlgs_g.h,v
retrieving revision 1.5
diff -u -r1.5 repodlgs_g.h
--- client/include/repodlgs_g.h 2002/06/27 00:59:21     1.5
+++ client/include/repodlgs_g.h 2002/11/30 05:43:12
@@ -17,7 +17,6 @@
 
 #include "repodlgs_common.h"
 
-char *get_report_title(char *report_name);
 void update_report_dialogs(void);
 
 void science_dialog_update(void);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#2455) dead functions in GUI interface, Jason Short via RT <=