From dea6099cae38d152cdc42c7a82503e321182d9f3 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Thu, 24 Jan 2002 23:40:58 +0000 Subject: [PATCH] (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. --- src/dogmove.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)