mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-29 17:18:26 -05:00
20 lines
321 B
C
20 lines
321 B
C
|
#include <syslog.h>
|
||
|
|
||
|
void
|
||
|
syslog_r(int pri, struct syslog_data *data, const char *fmt, ...)
|
||
|
{
|
||
|
va_list ap;
|
||
|
|
||
|
va_start(ap, fmt);
|
||
|
vsyslog_r(pri, data, fmt, ap);
|
||
|
va_end(ap);
|
||
|
}
|
||
|
|
||
|
void
|
||
|
vsyslog_r(int pri, struct syslog_data *data, const char *fmt, va_list ap)
|
||
|
{
|
||
|
#ifdef HAVE_SYSLOG
|
||
|
vsyslog(pri, fmt, ap);
|
||
|
#endif
|
||
|
}
|