Remove some unused junk.

This commit is contained in:
Markus Armbruster 2004-03-01 13:48:45 +00:00
parent 5df329c766
commit 262e1bafba
7 changed files with 1 additions and 14 deletions

View file

@ -51,10 +51,6 @@
#include "budg.h" #include "budg.h"
#include "commands.h" #include "commands.h"
#ifndef MIN
#define MIN(x,y) ((x) > (y) ? (y) : (x))
#endif
static void calc_all(long int (*p_sect)[2], int *taxes, int *Ncivs, static void calc_all(long int (*p_sect)[2], int *taxes, int *Ncivs,
int *Nuws, int *bars, int *Nbars, int *mil, int *Nuws, int *bars, int *Nbars, int *mil,
int *ships, int *sbuild, int *nsbuild, int *smaint, int *ships, int *sbuild, int *nsbuild, int *smaint,

View file

@ -109,7 +109,6 @@ static int owned_and_navigable(s_char *, int, int, s_char *, int);
s_char *dirchar = "juygbn"; s_char *dirchar = "juygbn";
int dx[6] = { 2, 1, -1, -2, -1, 1 }; int dx[6] = { 2, 1, -1, -2, -1, 1 };
int dy[6] = { 0, -1, -1, 0, 1, 1 }; int dy[6] = { 0, -1, -1, 0, 1, 1 };
int tmp;
/* /*
* Ok, note that here we malloc some buffers. BUT, we never * Ok, note that here we malloc some buffers. BUT, we never

View file

@ -90,7 +90,6 @@ demand_update_time(time_t * now)
static void static void
regular_update_time(time_t * now, time_t * tim, time_t * delta) regular_update_time(time_t * now, time_t * tim, time_t * delta)
{ {
s_char *p;
time_t tw; time_t tw;
int secs_per_update; int secs_per_update;
@ -105,7 +104,7 @@ static int
scheduled_update_time(time_t * now, int *which) scheduled_update_time(time_t * now, int *which)
{ {
struct tm *tm; struct tm *tm;
s_char *p, *p1; s_char *p;
int curtime; int curtime;
int hour; int hour;

View file

@ -54,9 +54,6 @@
#include "server.h" #include "server.h"
#ifndef MIN
#define MIN(x,y) ((x) < (y) ? (x) : (y))
#endif
#ifndef MAX #ifndef MAX
#define MAX(x,y) ((x) < (y) ? (y) : (x)) #define MAX(x,y) ((x) < (y) ? (y) : (x))
#endif #endif
@ -66,7 +63,6 @@ static void getilist(struct emp_qelem *list, natid own,
struct emp_qelem *c, struct emp_qelem *d); struct emp_qelem *c, struct emp_qelem *d);
static void ac_dog(register struct plist *ap, register struct plist *dp); static void ac_dog(register struct plist *ap, register struct plist *dp);
#define DOG_MAX 15
#define FLAK_MAX 15 #define FLAK_MAX 15
/* -7 -6 -5 -4 -3 -2 -1 0 */ /* -7 -6 -5 -4 -3 -2 -1 0 */

View file

@ -50,7 +50,6 @@
#include "optlist.h" #include "optlist.h"
#include "prototypes.h" #include "prototypes.h"
#define QUIET 0
#define NOISY 1 #define NOISY 1
/* /*

View file

@ -436,7 +436,6 @@ retreat_land1(struct lndstr *lp, s_char code, int orig)
double mobcost; double mobcost;
struct lchrstr *lcp; struct lchrstr *lcp;
int time_to_stop; int time_to_stop;
s_char buf[RET_LEN - 1];
lp->lnd_mission = 0; lp->lnd_mission = 0;
if (lp->lnd_own == 0) if (lp->lnd_own == 0)

View file

@ -142,7 +142,6 @@ struct look_list {
struct lchrstr *lp; struct lchrstr *lp;
struct plchrstr *pp; struct plchrstr *pp;
struct mchrstr *mp; struct mchrstr *mp;
int value;
} l_u; } l_u;
int tech; int tech;
} lookup_list[200]; /* Change this if there are ever more than 200 planes, ships } lookup_list[200]; /* Change this if there are ever more than 200 planes, ships