Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9701) Move declaration of get_ping_time_text
Home

[Freeciv-Dev] (PR#9701) Move declaration of get_ping_time_text

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9701) Move declaration of get_ping_time_text
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Sat, 14 Aug 2004 06:59:15 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9701 >

It should be declared in text.h not in plrdlg_common.h since it is
defined in text.c .
? civgame-3950.sav.gz
Index: plrdlg_common.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/plrdlg_common.c,v
retrieving revision 1.9
diff -u -r1.9 plrdlg_common.c
--- plrdlg_common.c     30 Jul 2004 20:40:49 -0000      1.9
+++ plrdlg_common.c     14 Aug 2004 13:52:04 -0000
@@ -23,6 +23,7 @@
 #include "support.h"
 
 #include "climisc.h"
+#include "text.h"
 
 #include "plrdlg_g.h"
 
Index: plrdlg_common.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/plrdlg_common.h,v
retrieving revision 1.5
diff -u -r1.5 plrdlg_common.h
--- plrdlg_common.h     22 Apr 2004 16:05:45 -0000      1.5
+++ plrdlg_common.h     14 Aug 2004 13:52:04 -0000
@@ -42,7 +42,6 @@
 extern struct player_dlg_column player_dlg_columns[];
 extern const int num_player_dlg_columns;
 
-const char *get_ping_time_text(struct player *pplayer);
 void init_player_dlg_common(void);
 int player_dlg_default_sort_column(void);
 
Index: text.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/text.h,v
retrieving revision 1.4
diff -u -r1.4 text.h
--- text.h      16 Jul 2004 19:37:57 -0000      1.4
+++ text.h      14 Aug 2004 13:52:04 -0000
@@ -41,5 +41,6 @@
 const char *get_report_title(const char *report_name);
 const char *get_happiness_buildings(const struct city *pcity);
 const char *get_happiness_wonders(const struct city *pcity);
+const char *get_ping_time_text(struct player *pplayer);
 
 #endif /* FC__TEXT_H */

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9701) Move declaration of get_ping_time_text, Mateusz Stefek <=