From 7fe153acaacbb315fe465356894edfd1784c907e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 23 Dec 1998 20:01:15 +0000 Subject: [PATCH] Add LDAP_DEBUG_DEPRECIATED to enable warnings when 'depreciated' interfaces are used. Added comments to ldap_cdefs.h --- include/ldap_cdefs.h | 4 ++-- include/ldap_log.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/ldap_cdefs.h b/include/ldap_cdefs.h index 96579288df..43a069a32f 100644 --- a/include/ldap_cdefs.h +++ b/include/ldap_cdefs.h @@ -7,8 +7,8 @@ # define LDAP_BEGIN_DECL extern "C" { # define LDAP_END_DECL } #else -# define LDAP_BEGIN_DECL /* empty */ -# define LDAP_END_DECL /* empty */ +# define LDAP_BEGIN_DECL /* begin declarations */ +# define LDAP_END_DECL /* end declarations */ #endif #if !defined(__NO_PROTOTYPES) && ( \ diff --git a/include/ldap_log.h b/include/ldap_log.h index 2959ed48e0..4e2956fa7c 100644 --- a/include/ldap_log.h +++ b/include/ldap_log.h @@ -30,6 +30,7 @@ LDAP_BEGIN_DECL #define LDAP_DEBUG_SHELL 0x0400 #define LDAP_DEBUG_PARSE 0x0800 +#define LDAP_DEBUG_DEPRECIATED 0x1000 #define LDAP_DEBUG_NONE 0x8000 #define LDAP_DEBUG_ANY -1 -- 2.39.5