From: Gary Williams Date: Fri, 13 Oct 2000 14:10:41 +0000 (+0000) Subject: add typedef for log function that was in lber.h X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1755 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1217a452e96da7bb89bedda67f7fbfc5795ea6e2;p=openldap add typedef for log function that was in lber.h --- diff --git a/libraries/liblber/bprint.c b/libraries/liblber/bprint.c index 04497a79ea..7c0e15615d 100644 --- a/libraries/liblber/bprint.c +++ b/libraries/liblber/bprint.c @@ -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; /* diff --git a/libraries/liblber/options.c b/libraries/liblber/options.c index afeeafbae4..d234e98081 100644 --- a/libraries/liblber/options.c +++ b/libraries/liblber/options.c @@ -7,10 +7,12 @@ #include #include - +#include #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 = {