]> git.sur5r.net Git - openldap/blobdiff - include/ldap_log.h
hostname needs to be static
[openldap] / include / ldap_log.h
index dfb2e7a9cdc78d171a87805eed297686644f8836..5eeda4ef75f901a5de16332afe4cc2f1b3e0037f 100644 (file)
@@ -47,6 +47,10 @@ LDAP_BEGIN_DECL
 /* debugging stuff */
 #ifdef LDAP_DEBUG
 
+/*
+ * This is a bogus extern declaration for the compiler. No need to ensure
+ * a 'proper' dllimport.
+ */
 #ifndef ldap_debug
 extern int     ldap_debug;
 #endif /* !ldap_debug */
@@ -74,7 +78,7 @@ extern int    ldap_syslog_level;
 #define Debug( level, fmt, arg1, arg2, arg3 )
 #endif /* LDAP_DEBUG */
 
-LDAP_F(void) lutil_debug LDAP_P((
+LIBLUTIL_F(void) lutil_debug LDAP_P((
        int debug, int level,
        const char* fmt, ... )) LDAP_GCCATTR((format(printf, 3, 4)));