Module Name: src
Committed By: christos
Date: Tue Feb 11 17:47:55 UTC 2025
Added Files:
src/external/bsd/blocklist/port: vsyslog_r.c
Log Message:
use autoconf for vsyslog_r() (Hans Rosenfeld)
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/bsd/blocklist/port/vsyslog_r.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/external/bsd/blocklist/port/vsyslog_r.c
diff -u /dev/null src/external/bsd/blocklist/port/vsyslog_r.c:1.1
--- /dev/null Tue Feb 11 12:47:55 2025
+++ src/external/bsd/blocklist/port/vsyslog_r.c Tue Feb 11 12:47:55 2025
@@ -0,0 +1,13 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <syslog.h>
+#include <stdarg.h>
+
+void
+vsyslog_r(int priority, struct syslog_data *sd __unused, const char *fmt, va_list ap)
+{
+ vsyslog(priority, fmt, ap);
+}
+