Make non-static function definitions match static declarations

Just to avoid confusion.
This commit is contained in:
Markus Armbruster 2009-03-22 17:47:14 +01:00
parent 5dcd748f9d
commit d1b801b90b
3 changed files with 5 additions and 5 deletions

View 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) doplane(char op, int arg, char *p, struct plnstr *plane)
{ {
coord newx, newy; coord newx, newy;

View file

@ -142,7 +142,7 @@ weekday(char *str, int *wday)
* Else return NULL. * Else return NULL.
* Time format is HOUR:MINUTE. Initial whitespace is ignored. * Time format is HOUR:MINUTE. Initial whitespace is ignored.
*/ */
char * static char *
daytime(char *str, int *min) daytime(char *str, int *min)
{ {
/* /*
@ -177,7 +177,7 @@ daytime(char *str, int *min)
* Else return NULL. * Else return NULL.
* Format is HOUR:MINUTE-HOUR:MINUTE. Initial whitespace is ignored. * Format is HOUR:MINUTE-HOUR:MINUTE. Initial whitespace is ignored.
*/ */
char * static char *
daytime_range(char *str, int *from_min, int *to_min) daytime_range(char *str, int *from_min, int *to_min)
{ {
char *end; char *end;

View file

@ -399,7 +399,7 @@ ac_intercept(struct emp_qelem *bomb_list, struct emp_qelem *esc_list,
pln_put(&int_list); pln_put(&int_list);
} }
void static void
ac_combat_headers(natid plane_owner, natid def_own) ac_combat_headers(natid plane_owner, natid def_own)
{ {
PR(plane_owner, PR(plane_owner,
@ -413,7 +413,7 @@ ac_combat_headers(natid plane_owner, natid def_own)
/* /*
* air-to-air combat. * air-to-air combat.
*/ */
void static void
ac_airtoair(struct emp_qelem *att_list, struct emp_qelem *int_list) ac_airtoair(struct emp_qelem *att_list, struct emp_qelem *int_list)
{ {
struct plist *attacker; struct plist *attacker;