From: nethack.allison Date: Thu, 24 Jan 2002 23:40:58 +0000 (+0000) Subject: (from Steve VanDevender) X-Git-Tag: MOVE2GIT~3357 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dea6099cae38d152cdc42c7a82503e321182d9f3;p=nethack (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. --- diff --git a/src/dogmove.c b/src/dogmove.c index ed2236062..1aa2a5766 100644 --- a/src/dogmove.c +++ b/src/dogmove.c @@ -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)