X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fldap_log.h;h=eafb68e376e1c67aa5d0d6766a1db45b14c5f75f;hb=8cdeface5457068e3da11f0e0d22f8998be333ed;hp=dfb2e7a9cdc78d171a87805eed297686644f8836;hpb=183a03cc2bf3c383b50dad3e4dd831ab3a32df6e;p=openldap diff --git a/include/ldap_log.h b/include/ldap_log.h index dfb2e7a9cd..eafb68e376 100644 --- a/include/ldap_log.h +++ b/include/ldap_log.h @@ -1,12 +1,13 @@ /* $OpenLDAP$ */ /* - * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA + * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA * All rights reserved. * - * Redistribution and use in source and binary forms are permitted only - * as authorized by the OpenLDAP Public License. A copy of this - * license is available at http://www.OpenLDAP.org/license.html or - * in file LICENSE in the top-level directory of the distribution. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted only as authorized by the OpenLDAP + * Public License. A copy of this license is available at + * http://www.OpenLDAP.org/license.html or in file LICENSE in the + * top-level directory of the distribution. */ /* Portions * Copyright (c) 1990 Regents of the University of Michigan. @@ -47,6 +48,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 +79,7 @@ extern int ldap_syslog_level; #define Debug( level, fmt, arg1, arg2, arg3 ) #endif /* LDAP_DEBUG */ -LDAP_F(void) lutil_debug LDAP_P(( +LDAP_LUTIL_F(void) lutil_debug LDAP_P(( int debug, int level, const char* fmt, ... )) LDAP_GCCATTR((format(printf, 3, 4)));