Do not include var.h where no longer needed. Clean up register keywords in these file at the same time. No functional changes.

This commit is contained in:
Marc Olzheim 2004-10-12 20:08:51 +00:00
parent 442803c30a
commit e9a040adb9
187 changed files with 246 additions and 435 deletions

View file

@ -36,7 +36,6 @@
#include <string.h>
#include "misc.h"
#include "player.h"
#include "var.h"
#include "sect.h"
#include "nat.h"
#include "ship.h"
@ -59,7 +58,7 @@ struct powsort {
natid cnum;
};
static void addtopow(register short *vec, register struct powstr *pow);
static void addtopow(short *vec, struct powstr *pow);
static void gen_power(void);
static void out5(double value, int round_val, int round_flag);
static int powcmp(struct powsort *p1, struct powsort *p2);
@ -228,8 +227,8 @@ gen_power(void)
{
float *f_ptr;
float *f_pt2;
register struct powstr *pow;
register int i;
struct powstr *pow;
int i;
struct sctstr sect;
struct plnstr plane;
struct shpstr ship;