8 extern void warn (const char * fmt
, ...)
12 assert (fmt
!= NULL
) ;
13 va_start (args
, fmt
) ;
14 fprintf (stderr
, "wmmenu warning: ") ;
15 vfprintf (stderr
, fmt
, args
) ;
16 fprintf (stderr
, "\n") ;
20 extern void error (const char * fmt
, ...)
24 assert (fmt
!= NULL
) ;
25 va_start (args
, fmt
) ;
26 fprintf (stderr
, "wmmenu error: ") ;
27 vfprintf (stderr
, fmt
, args
) ;
28 fprintf (stderr
, "\n") ;