SmartAudio/package/avs/libsensory/files/wrapper/chk/syslog_chk.c

13 lines
263 B
C
Executable File

#include <stdarg.h>
#include <syslog.h>
#include "fortify.h"
void __vsyslog(int, const char *, va_list);
void __syslog_chk(int priority, int flag, const char *message, ...)
{
va_list ap;
va_start(ap, message);
__vsyslog(priority, message, ap);
va_end(ap);
}