From: mar Date: Mon, 26 Jun 1989 12:31:19 +0000 (+0000) Subject: fix lint problems with new com_err library X-Git-Tag: PATCH5~54 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/36689901f4aefe6e97afc6db0dfaef64d8e060af fix lint problems with new com_err library --- diff --git a/update/log.c b/update/log.c index 651fa3e2..882d42d1 100644 --- a/update/log.c +++ b/update/log.c @@ -28,6 +28,10 @@ static char *rcsid_log_c = "$Header$"; #include "update.h" #include +#ifndef __STDC__ +#define const +#endif + #ifdef use_syslog #include #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;