]> andersk Git - moira.git/blobdiff - update/log.c
Finally implement _set_debug_level. (SQL trace will go to a file in
[moira.git] / update / log.c
index 415280e960f4871cd548fc42bb7f8123623beae5..05c2453cb8bfc95d684fb25e6f52b75724966410 100644 (file)
@@ -8,7 +8,7 @@
 
 #ifndef lint
 static char *rcsid_log_c = "$Header$";
-#endif lint
+#endif
 
 /*
  * handle logging for dcm and update server
@@ -24,13 +24,14 @@ static char *rcsid_log_c = "$Header$";
 #include <mit-copyright.h>
 #include <stdio.h>
 #include "com_err.h"
+#ifdef __STDC__
+#include <stdarg.h>
+#else
 #include <varargs.h>
-#include "update.h"
-#include <krb.h>
-
-#ifndef __STDC__
 #define const
 #endif
+#include "update.h"
+#include <krb.h>
 
 #ifdef use_syslog
 #include <syslog.h>
@@ -46,7 +47,7 @@ int syslog_prio[] = {
     LOG_ERR
 };
 #endif
-int log_priority;
+extern int log_priority;
 extern char *whoami;
 
 void mr_update_com_err_hook(whoami, code, fmt, args)
This page took 0.653511 seconds and 4 git commands to generate.