aboutsummaryrefslogtreecommitdiff
path: root/externals/libressl/crypto/compat/syslog_r.c
blob: d68169ddd7fa91e6328fca0d6ca47306b1013bf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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
}