remove register from variable declarations
This commit is contained in:
14
src/dokick.c
14
src/dokick.c
@@ -291,7 +291,7 @@ kick_monster(struct monst *mon, coordxy x, coordxy y)
|
||||
* The gold object is *not* attached to the fobj chain!
|
||||
*/
|
||||
boolean
|
||||
ghitm(register struct monst *mtmp, register struct obj *gold)
|
||||
ghitm(struct monst *mtmp, struct obj *gold)
|
||||
{
|
||||
boolean msg_given = FALSE;
|
||||
|
||||
@@ -1002,7 +1002,7 @@ kick_nondoor(coordxy x, coordxy y, int avrg_attrib)
|
||||
}
|
||||
}
|
||||
if (IS_THRONE(gm.maploc->typ)) {
|
||||
register int i;
|
||||
int i;
|
||||
if (Levitation) {
|
||||
kick_dumb(x, y);
|
||||
return ECMD_TIME;
|
||||
@@ -1247,7 +1247,7 @@ dokick(void)
|
||||
coordxy x, y;
|
||||
int avrg_attrib;
|
||||
int glyph, oldglyph = -1;
|
||||
register struct monst *mtmp;
|
||||
struct monst *mtmp;
|
||||
boolean no_kick = FALSE;
|
||||
|
||||
if (nolimbs(gy.youmonst.data) || slithy(gy.youmonst.data)) {
|
||||
@@ -1499,8 +1499,8 @@ impact_drop(
|
||||
xint16 dlev) /* if !0 send to dlev near player */
|
||||
{
|
||||
schar toloc;
|
||||
register struct obj *obj, *obj2;
|
||||
register struct monst *shkp;
|
||||
struct obj *obj, *obj2;
|
||||
struct monst *shkp;
|
||||
long oct, dct, price, debit, robbed;
|
||||
boolean angry, costly, isrock;
|
||||
coord cc;
|
||||
@@ -1753,7 +1753,7 @@ ship_object(struct obj *otmp, coordxy x, coordxy y, boolean shop_floor_obj)
|
||||
void
|
||||
obj_delivery(boolean near_hero)
|
||||
{
|
||||
register struct obj *otmp, *otmp2;
|
||||
struct obj *otmp, *otmp2;
|
||||
int nx = 0, ny = 0;
|
||||
int where;
|
||||
boolean nobreak, noscatter;
|
||||
@@ -1890,7 +1890,7 @@ deliver_obj_to_mon(struct monst *mtmp, int cnt, unsigned long deliverflags)
|
||||
}
|
||||
|
||||
static void
|
||||
otransit_msg(register struct obj *otmp, boolean nodrop, boolean chainthere, long num)
|
||||
otransit_msg(struct obj *otmp, boolean nodrop, boolean chainthere, long num)
|
||||
{
|
||||
char *optr = 0, obuf[BUFSZ], xbuf[BUFSZ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user