Im getting this warning for the function logf, in a rom derivitive Ghost Mud 3.0.
I dont realy understand what the warning means(am looking it
up now on the net) nor do i know how to go about fixing it.
Thanks all for your time and help, in advance.
in merc.h
void logf args((char *fmt, ...));
in comm.c
void logf (char *fmt, ...)
{
char buf[2 * MSL];
va_list args;
va_start (args, fmt);
vsprintf (buf, fmt, args);
va_end (args);
log_string (buf);
}
I dont realy understand what the warning means(am looking it
up now on the net) nor do i know how to go about fixing it.
Thanks all for your time and help, in advance.