Use util/mklink.pl instead of util/mklink.sh.
[oweals/openssl.git] / crypto / bio / bss_log.c
index b89e6e09e1a1cfdd7f4f8880fa9cb12d4edf7654..db82e757e7a5ef0e5fe4a872679eff34315e8a68 100644 (file)
 #include <errno.h>
 
 #ifndef WIN32
+#ifdef __ultrix
+#include <sys/syslog.h>
+#else
 #include <syslog.h>
 #endif
+#endif
 
 #include "cryptlib.h"
-#include "buffer.h"
-#include "err.h"
+#include <openssl/buffer.h>
+#include <openssl/err.h>
 #ifndef NO_SYSLOG
 
 
-#ifndef NOPROTO
 static int MS_CALLBACK slg_write(BIO *h,char *buf,int num);
 static int MS_CALLBACK slg_puts(BIO *h,char *str);
 static long MS_CALLBACK slg_ctrl(BIO *h,int cmd,long arg1,char *arg2);
 static int MS_CALLBACK slg_new(BIO *h);
 static int MS_CALLBACK slg_free(BIO *data);
-#else
-static int MS_CALLBACK slg_write();
-static int MS_CALLBACK slg_puts();
-static long MS_CALLBACK slg_ctrl();
-static int MS_CALLBACK slg_new();
-static int MS_CALLBACK slg_free();
-#endif
-
 static int xopenlog(BIO* bp, const char* name, int level);
 static int xcloselog(BIO* bp);