From 95dfab01523e56dd46cba0dde323c9dd24585a48 Mon Sep 17 00:00:00 2001 From: Heikki Levanto Date: Fri, 19 Nov 2004 09:59:31 +0000 Subject: [PATCH] Fixed a CDECL thing that broke yaz++ --- include/yaz/log.h | 5 +++-- include/yaz/ylog.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/yaz/log.h b/include/yaz/log.h index a7bd8bf..3005ef1 100644 --- a/include/yaz/log.h +++ b/include/yaz/log.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: log.h,v 1.20 2004-11-18 15:18:13 heikki Exp $ + * $Id: log.h,v 1.21 2004-11-19 09:59:31 heikki Exp $ */ /** @@ -35,7 +35,7 @@ #define LOG_H #include -#warning "use of log.h is deprecated, use logf.h instead" +#warning "use of log.h is deprecated, use ylog.h instead" #include #include @@ -68,3 +68,4 @@ YAZ_BEGIN_CDECL #endif +YAZ_END_CDECL diff --git a/include/yaz/ylog.h b/include/yaz/ylog.h index 09f2247..d950c83 100644 --- a/include/yaz/ylog.h +++ b/include/yaz/ylog.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: ylog.h,v 1.1 2004-11-18 15:18:13 heikki Exp $ + * $Id: ylog.h,v 1.2 2004-11-19 09:59:31 heikki Exp $ */ /** @@ -136,6 +136,7 @@ YAZ_EXPORT void log_event_end(void (*func)(int level, const char *msg, void *inf void *info); YAZ_EXPORT void yaz_log_reopen(void); + YAZ_END_CDECL #endif -- 1.7.10.4