Consistently use int for file type parameters and locals

This commit is contained in:
Markus Armbruster 2009-12-29 13:09:01 +01:00
parent 60519b3cd0
commit c0ed527311
7 changed files with 13 additions and 13 deletions

View file

@ -55,7 +55,7 @@ llook(void)
}
int
do_look(short type)
do_look(int type)
{
int i;
struct nstr_item ni;

View file

@ -82,7 +82,7 @@ do_unit_move(struct emp_qelem *ulist, int *together,
char *pt = pathtaken;
char bmap_flag;
int ac;
short type;
int type;
leader = get_leader(ulist);
leader_uid = leader->uid;

View file

@ -50,7 +50,7 @@ lrad(void)
}
int
radar(short type)
radar(int type)
{
char *cp;
double tf;

View file

@ -51,7 +51,7 @@
static char shp_rflagsc[] = "Xitshbdu";
static char lnd_rflagsc[] = "XiXXhbXX";
static int retreat(short);
static int retreat(int);
int
retr(void)
@ -66,7 +66,7 @@ lretr(void)
}
static int
retreat(short type)
retreat(int type)
{
char *pq, *fl;
int nunits;