From 1217a452e96da7bb89bedda67f7fbfc5795ea6e2 Mon Sep 17 00:00:00 2001 From: Gary Williams Date: Fri, 13 Oct 2000 14:10:41 +0000 Subject: [PATCH] add typedef for log function that was in lber.h --- libraries/liblber/bprint.c | 3 +++ libraries/liblber/options.c | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 = {