(from Steve VanDevender)
Not using FDECL to declare the prototype for dogmove.c:can_reach_food() causes the Digital UNIX C compiler to throw a prototype mismatch error when compiling dogmove.c.
This commit is contained in:
@@ -16,8 +16,8 @@ STATIC_DCL int FDECL(dog_invent,(struct monst *,struct edog *,int));
|
||||
STATIC_DCL int FDECL(dog_goal,(struct monst *,struct edog *,int,int,int));
|
||||
|
||||
STATIC_DCL struct obj *FDECL(DROPPABLES, (struct monst *));
|
||||
STATIC_DCL boolean can_reach_food(struct monst *,XCHAR_P,XCHAR_P,XCHAR_P,
|
||||
XCHAR_P);
|
||||
STATIC_DCL boolean FDECL(can_reach_food,(struct monst *,XCHAR_P,XCHAR_P,XCHAR_P,
|
||||
XCHAR_P));
|
||||
|
||||
STATIC_OVL struct obj *
|
||||
DROPPABLES(mon)
|
||||
|
||||
Reference in New Issue
Block a user