]> git.sur5r.net Git - openldap/commitdiff
add typedef for log function that was in lber.h
authorGary Williams <gwilliams@openldap.org>
Fri, 13 Oct 2000 14:10:41 +0000 (14:10 +0000)
committerGary Williams <gwilliams@openldap.org>
Fri, 13 Oct 2000 14:10:41 +0000 (14:10 +0000)
libraries/liblber/bprint.c
libraries/liblber/options.c

index 04497a79eabfdedba12603ab69b8037696ad160e..7c0e15615d561d12fb9a3965b1d01c7e50ee5771 100644 (file)
@@ -14,6 +14,9 @@
 
 #include "lber-int.h"
 
+typedef void (*BER_LOG_FN) LDAP_P((FILE *file, char *subsys, int level, const char *fmt, va_list vl));
+
+
 BER_LOG_FN ber_int_log_proc = NULL;
 
 /*
index afeeafbae4ca20ed6750d4975cf1caa8a3e34721..d234e98081e9383498d2f8f4d3a6df5547750edc 100644 (file)
@@ -7,10 +7,12 @@
 
 #include <ac/stdlib.h>
 #include <ac/string.h>
-
+#include <ac/stdarg.h>
 #include "lber-int.h"
 
-extern void * ber_pvt_err_file;        /* bprint.c */
+/* bprint.c */
+typedef void (*BER_LOG_FN) LDAP_P((FILE *file, char *subsys, int level, const char *fmt, va_list vl));
+extern void * ber_pvt_err_file;
 extern BER_LOG_FN ber_int_log_proc;
 
 struct lber_options ber_int_options = {