Complete.Org: Mailing Lists: Archives: freeciv-dev: July 1999:
[Freeciv-Dev] [PATCH] include and comments
Home

[Freeciv-Dev] [PATCH] include and comments

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] [PATCH] include and comments
From: Markus Linnala <maage@xxxxxxxxx>
Date: 05 Jul 1999 01:33:06 +0300
Reply-to: Markus Linnala <maage@xxxxxxxxx>

This patch should be harmless to include. It just adds two
includes and some comments.

1999-07-05  Markus Linnala  <maage@xxxxxxxxx>

        * ai/advdomestic.h: ai_choice is at aitools.h
        * ai/advattitude.h: ai_choice is at aitools.h

diff -u --ignore-space-change --recursive --new-file --exclude-from=.diffignore 
freeciv-cvs/ai/advdomestic.h m/freeciv/ai/advdomestic.h
--- freeciv-cvs/ai/advdomestic.h        Sat Jun 12 15:03:19 1999
+++ m/freeciv/ai/advdomestic.h  Sat Jul  3 15:10:22 1999
@@ -13,8 +13,10 @@
 #ifndef FC__ADVDOMESTIC_H
 #define FC__ADVDOMESTIC_H
 
+#include <aitools.h>
+
 void domestic_advisor_choose_build(struct player *pplayer, struct city *pcity,
                                   struct ai_choice *choice);
 void ai_eval_buildings(struct city *pcity);
 
-#endif
+#endif /* FC__ADVDOMESTIC_H */
diff -u --ignore-space-change --recursive --new-file --exclude-from=.diffignore 
freeciv-cvs/common/capability.h m/freeciv/common/capability.h
--- freeciv-cvs/common/capability.h     Fri Jun 11 14:56:50 1999
+++ m/freeciv/common/capability.h       Sat Jul  3 15:10:22 1999
@@ -17,4 +17,4 @@
 int has_capability(const char *cap, const char *capstr);
 int has_capabilities(const char *us, const char *them);
 
-#endif
+#endif /* FC__CAPABILITY_H */
diff -u --ignore-space-change --recursive --new-file --exclude-from=.diffignore 
freeciv-cvs/server/autoattack.h m/freeciv/server/autoattack.h
--- freeciv-cvs/server/autoattack.h     Wed Feb 10 23:49:28 1999
+++ m/freeciv/server/autoattack.h       Sat Jul  3 15:10:22 1999
@@ -15,4 +15,4 @@
 
 void auto_attack(void);
 
-#endif
+#endif /* FC__AUTOATTACK_H */
diff -u --ignore-space-change --recursive --new-file --exclude-from=.diffignore 
freeciv-cvs/ai/advattitude.h m/freeciv/ai/advattitude.h
--- freeciv-cvs/ai/advattitude.h        Sat Jun 12 15:03:19 1999
+++ m/freeciv/ai/advattitude.h  Sat Jul  3 15:10:22 1999
@@ -13,6 +13,8 @@
 #ifndef FC__ADVATTITUDE_H
 #define FC__ADVATTITUDE_H
 
+#include <aitools.h>
+
 void attitude_advisor_choose_tech(struct player *pplayer, 
                                  struct ai_choice *choice);
 
-- 
//Markus

[Prev in Thread] Current Thread [Next in Thread]