From 36689901f4aefe6e97afc6db0dfaef64d8e060af Mon Sep 17 00:00:00 2001 From: mar Date: Mon, 26 Jun 1989 12:31:19 +0000 Subject: [PATCH] fix lint problems with new com_err library --- update/log.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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; -- 2.45.2