more overlay bits
Although the overlay stuff is destined to be removed someday, this patch just makes the use of STATIC_DCL, STATIC_OVL consistent in the trunk. [As a side pointless experiment, I was able to build a working 8086 port of 3.4.2 after this change that worked correctly in limited testing right up until it came time to enter Ft. Ludios., where it couldn't allocated the required amount of memory.]
This commit is contained in:
12
src/sounds.c
12
src/sounds.c
@@ -10,12 +10,12 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static int FDECL(domonnoise,(struct monst *));
|
||||
static int NDECL(dochat);
|
||||
static int FDECL(mon_in_room, (struct monst *,int));
|
||||
STATIC_DCL int FDECL(domonnoise,(struct monst *));
|
||||
STATIC_DCL int NDECL(dochat);
|
||||
STATIC_DCL int FDECL(mon_in_room, (struct monst *,int));
|
||||
|
||||
/* this easily could be a macro, but it might overtax dumb compilers */
|
||||
static int
|
||||
STATIC_OVL int
|
||||
mon_in_room(mon, rmtyp)
|
||||
struct monst *mon;
|
||||
int rmtyp;
|
||||
@@ -412,7 +412,7 @@ register struct monst *mtmp;
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
STATIC_OVL int
|
||||
domonnoise(mtmp)
|
||||
register struct monst *mtmp;
|
||||
{
|
||||
@@ -822,7 +822,7 @@ dotalk()
|
||||
return result;
|
||||
}
|
||||
|
||||
static int
|
||||
STATIC_OVL int
|
||||
dochat()
|
||||
{
|
||||
register struct monst *mtmp;
|
||||
|
||||
Reference in New Issue
Block a user