]> andersk Git - moira.git/commitdiff
fix lint problems with new com_err library
authormar <mar>
Mon, 26 Jun 1989 12:31:19 +0000 (12:31 +0000)
committermar <mar>
Mon, 26 Jun 1989 12:31:19 +0000 (12:31 +0000)
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.0295 seconds and 5 git commands to generate.