Re: News and mail added to prompt

From: Ryan Le Gros (
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

   | FAQ: |
   | Archives: |

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