]> andersk Git - moira.git/blobdiff - update/log.c
added new proc type for MOTD
[moira.git] / update / log.c
index 651fa3e257872690b091afedc7decf7880fcd7d6..882d42d195cd4522cfa81bc6c9e2888baed7c597 100644 (file)
@@ -28,6 +28,10 @@ static char *rcsid_log_c = "$Header$";
 #include "update.h"
 #include <krb.h>
 
+#ifndef __STDC__
+#define const
+#endif
+
 #ifdef use_syslog
 #include <syslog.h>
 #else
@@ -45,10 +49,10 @@ int syslog_prio[] = {
 int log_priority;
 extern char *whoami;
 
-sms_update_com_err_hook(whoami, code, fmt, args)
-    char *whoami;
-    int code;
-    char *fmt;
+void sms_update_com_err_hook(whoami, code, fmt, args)
+    const char *whoami;
+    long code;
+    const char *fmt;
     va_list args;
 {
     char buf[BUFSIZ], *cp;
This page took 0.232496 seconds and 4 git commands to generate.