]> git.pond.sub.org Git - empserver/commitdiff
Make non-static function definitions match static declarations
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 22 Mar 2009 16:47:14 +0000 (17:47 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 22 Mar 2009 16:47:14 +0000 (17:47 +0100)
Just to avoid confusion.

src/lib/commands/edit.c
src/lib/common/hours.c
src/lib/subs/aircombat.c

index 6b370b3f6a30e37477915e67b719db1feebf2258..2c0293d140a62b0cb1c4c6fcc26e7feedc1e2c03 100644 (file)
@@ -975,7 +975,7 @@ dounit(char op, int arg, char *p, struct lndstr *land)
 }
 
 
-int
+static int
 doplane(char op, int arg, char *p, struct plnstr *plane)
 {
     coord newx, newy;
index 52d29d38cbd6b0db9787f189cc681c810671997d..96500bcebed41ee13eaebf64f2b6676c4d2f65a0 100644 (file)
@@ -142,7 +142,7 @@ weekday(char *str, int *wday)
  * Else return NULL.
  * Time format is HOUR:MINUTE.  Initial whitespace is ignored.
  */
-char *
+static char *
 daytime(char *str, int *min)
 {
     /*
@@ -177,7 +177,7 @@ daytime(char *str, int *min)
  * Else return NULL.
  * Format is HOUR:MINUTE-HOUR:MINUTE.  Initial whitespace is ignored.
  */
-char *
+static char *
 daytime_range(char *str, int *from_min, int *to_min)
 {
     char *end;
index d5dbbc852dd784ffb33077bbe5e78ebd0606a175..9a91173af1e2e4630b8e41cc17a9947998a9de96 100644 (file)
@@ -399,7 +399,7 @@ ac_intercept(struct emp_qelem *bomb_list, struct emp_qelem *esc_list,
     pln_put(&int_list);
 }
 
-void
+static void
 ac_combat_headers(natid plane_owner, natid def_own)
 {
     PR(plane_owner,
@@ -413,7 +413,7 @@ ac_combat_headers(natid plane_owner, natid def_own)
 /*
  * air-to-air combat.
  */
-void
+static void
 ac_airtoair(struct emp_qelem *att_list, struct emp_qelem *int_list)
 {
     struct plist *attacker;