#include "update.h"
#include <krb.h>
+#ifndef __STDC__
+#define const
+#endif
+
#ifdef use_syslog
#include <syslog.h>
#else
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;