Re: hunt_victim()

From: David E. Berthiaume Jr. (mud%mud@blaze.cs.jhu.edu)
Date: 08/16/95


> > On Tue, 15 Aug 1995, JOACHIM PILEBORG wrote:
> > 
> > > I made a special just to test the hunt_victim() function.
> > > It works like this: When the hunter is attacked, it take the and hunt the attacker
> > > when he flees, very simple :)
> > > The code looks like this:
> > > 
> > > SPECIAL(hunter) (code followed)
> >
> >   **  I added this code and compiled and got this error:
> >    
> >    WARNING: Implicit declaration of function hunt_victim
> 
> I receive this code whenever I forget to prototype a function.  Either 
> place a prototype of hunt_victim in the function you're using it in, or 
> the entire file.

Hmmm, I don't man to be rude or anything but me being a newbie myself I 
know that to get rid of that message you need to put
void hunt_victim(struct char_data * ch);
at the begining of spec_procs.c
Hmmm, maybe its just me  but that seems kinda obvious.

	- David 'Kevin' Berthiaume of Thryne



This archive was generated by hypermail 2b30 : 12/18/00 PST