--- fsl.c 2004/01/09 10:48:27 1.66
+++ fsl.c 2004/04/22 10:30:31 1.67
@@ -927,21 +927,6 @@
return oldmask;
}
-/* faked POSIX API function syslog(3) */
-void syslog(int priority, const char *message, ...)
-{
- va_list args;
-
- /* tracing */
- fsldebug(L2_LEVEL_TRACE, "fsl in syslog(3); go ahead using vsyslog(3)");
-
- /* wrap around vsyslog(3) */
- va_start(args, message);
- vsyslog(priority, message, args);
- va_end(args);
- return;
-}
-
/* faked POSIX API function vsyslog(3) */
#ifdef HAVE_VSYSLOG_USVALIST
void vsyslog(int priority, const char *fmt, __va_list args)
@@ -1004,3 +989,18 @@
return;
}
+/* faked POSIX API function syslog(3) */
+void syslog(int priority, const char *message, ...)
+{
+ va_list args;
+
+ /* tracing */
+ fsldebug(L2_LEVEL_TRACE, "fsl in syslog(3); go ahead using vsyslog(3)");
+
+ /* wrap around vsyslog(3) */
+ va_start(args, message);
+ vsyslog(priority, message, args);
+ va_end(args);
+ return;
+}
+
|