diff options
Diffstat (limited to 'lib/syslog.c')
-rw-r--r-- | lib/syslog.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/syslog.c b/lib/syslog.c new file mode 100644 index 0000000..fcb8396 --- /dev/null +++ b/lib/syslog.c @@ -0,0 +1,13 @@ +#include "../include/sane/config.h" + +#ifndef HAVE_SYSLOG + +#include <stdio.h> + +void syslog(int priority, const char *format, va_list args) +{ + printf("%d ", priority); + printf(format, args); +} + +#endif |