From 6e9c41a892ed0e0da326e0278b3221ce3f5713b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 6 Oct 2014 14:00:40 +0200 Subject: Initial import of sane-backends version 1.0.24-1.2 --- lib/syslog.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/syslog.c (limited to 'lib/syslog.c') 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 + +void syslog(int priority, const char *format, va_list args) +{ + printf("%d ", priority); + printf(format, args); +} + +#endif -- cgit v1.2.3