Clean up redundant forward declarations

This commit is contained in:
Markus Armbruster 2013-01-13 13:13:55 +01:00
parent bc14b41c65
commit 199ea0cb39
5 changed files with 0 additions and 7 deletions

View file

@ -49,14 +49,12 @@
#define END -1 #define END -1
static void benefit(natid, int);
static int docountry(char, int, char *, struct natstr *); static int docountry(char, int, char *, struct natstr *);
static int doland(char, int, char *, struct sctstr *); static int doland(char, int, char *, struct sctstr *);
static int doplane(char, int, char *, struct plnstr *); static int doplane(char, int, char *, struct plnstr *);
static int doship(char, int, char *, struct shpstr *); static int doship(char, int, char *, struct shpstr *);
static int dounit(char, int, char *, struct lndstr *); static int dounit(char, int, char *, struct lndstr *);
static int getin(char *, char **); static int getin(char *, char **);
static void noise(struct sctstr *, char *, int, int);
static void pr_land(struct lndstr *); static void pr_land(struct lndstr *);
static void pr_plane(struct plnstr *); static void pr_plane(struct plnstr *);
static void pr_ship(struct shpstr *); static void pr_ship(struct shpstr *);

View file

@ -42,7 +42,6 @@
#include "prototypes.h" #include "prototypes.h"
static char *weekday(char *str, int *wday); static char *weekday(char *str, int *wday);
static char *daytime(char *str, int *min);
static char *daytime_range(char *str, int *from_min, int *to_min); static char *daytime_range(char *str, int *from_min, int *to_min);
/* /*

View file

@ -90,7 +90,6 @@ static int defellipsis(void);
static int chkflds(void); static int chkflds(void);
static int setnum(int, double); static int setnum(int, double);
static int setstr(int, char *); static int setstr(int, char *);
static int xunsymbol(char *, struct castr *, int);
static int setsym(int, char *); static int setsym(int, char *);
static int mtsymset(int, long *); static int mtsymset(int, long *);
static int add2symset(int, long *, char *); static int add2symset(int, long *, char *);

View file

@ -56,8 +56,6 @@
#define FLAK_GUN_MAX 14 #define FLAK_GUN_MAX 14
static void sam_intercept(struct emp_qelem *, struct emp_qelem *,
natid, natid, coord, coord, int);
static void ac_intercept(struct emp_qelem *, struct emp_qelem *, static void ac_intercept(struct emp_qelem *, struct emp_qelem *,
struct emp_qelem *, natid, coord, coord, int); struct emp_qelem *, natid, coord, coord, int);
static void ac_combat_headers(natid, natid); static void ac_combat_headers(natid, natid);

View file

@ -165,7 +165,6 @@ static void set_coastal_flags(void);
static void print_vars(void); static void print_vars(void);
static void fl_move(int); static void fl_move(int);
static void next_coast(int c, int x, int y, int *xp, int *yp);
static void grow_islands(void); static void grow_islands(void);
/**************************************************************************** /****************************************************************************