-Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -Wredundant-decls \
-Wpointer-arith -Wformat=2 -Winit-self \
- -Wswitch-enum -Wunused-variable -Wbad-function-cast \
+ -Wswitch-enum -Wunused-variable -Wunused-function -Wbad-function-cast \
-Wno-strict-aliasing -fno-strict-aliasing
ALL_CFLAGS:=@DEFS@ -I$(srcdir) -I. $(CFLAGS) $(EXTRA_CFLAGS)
CPPFLAGS:=@CPPFLAGS@ $(EXTRA_CPPFLAGS)
}
}
-static void log_multi(void *st, int priority, const char *message, ...)
- FORMAT(printf,3,4);
-static void log_multi(void *st, int priority, const char *message, ...)
-{
- va_list ap;
-
- va_start(ap,message);
- log_vmulti(st,priority,message,ap);
- va_end(ap);
-}
-
struct log_if *init_log(list_t *ll)
{
int i=0;
}
}
-static void syslog_log(void *sst, int priority, const char *message, ...)
- FORMAT(printf,3,4);
-static void syslog_log(void *sst, int priority, const char *message, ...)
-{
- va_list ap;
-
- va_start(ap,message);
- syslog_vlog(sst,priority,message,ap);
- va_end(ap);
-}
-
static struct flagstr syslog_facility_table[]={
#ifdef LOG_AUTH
{ "auth", LOG_AUTH },