From: Richard Levitte Date: Wed, 2 Aug 2000 23:05:15 +0000 (+0000) Subject: *mumble* unicos 10.0.0.3 with Cray Standard C Version 6.2.0.0 has a syslog.h X-Git-Tag: OpenSSL-engine-0_9_6-beta1~12^2~79 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=51b66427c96265b5202c01b0a58daa7f6c2caac0;p=oweals%2Fopenssl.git *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)); --- diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index d5f905b62b..05361e0700 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -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)