*mumble* unicos 10.0.0.3 with Cray Standard C Version 6.2.0.0 has a syslog.h

where the openlog() is declared like this:

  extern int openlog __((char *_Ident, int _Logopt, int _Facility));
This commit is contained in:
Richard Levitte 2000-08-02 23:05:15 +00:00
parent 69764d720a
commit 51b66427c9

View File

@ -350,7 +350,7 @@ static void xcloselog(BIO* bp)
static void xopenlog(BIO* bp, const char* name, int level)
{
openlog(name, LOG_PID|LOG_CONS, level);
openlog((char *)name, LOG_PID|LOG_CONS, level);
}
static void xsyslog(BIO *bp, int priority, const char *string)