Re: News and mail added to prompt

From: Ryan Le Gros (rlegros4@hotmail.com)
Date: 11/27/01


using this line of source to get the (mail) to display in the prompt:

    count += sprintf(prompt + count, "%s",
(has_mail(GET_IDNUM(d->character)) ? "(mail) " : ""));

i compile and get this warning:

gcc -g -O2 -Wall    -c -o comm.o comm.c
comm.c: In function `make_prompt':
comm.c:1014: warning: implicit declaration of function `has_mail'

not sure what is causing this, im still a newbie c coder, learning as i go
in the circle source, any input?

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST