]> git.sur5r.net Git - openldap/blobdiff - include/lber_pvt.h
cleanup old TOOLID macro
[openldap] / include / lber_pvt.h
index fc8091e0aa6376aebf42f7f67c85d407e8f8414f..2a57ba11c642146fe49cabee5bf330587eccc2d5 100644 (file)
@@ -1,5 +1,6 @@
+/* $OpenLDAP$ */
 /*
- * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted only
@@ -8,7 +9,7 @@
  * in file LICENSE in the top-level directory of the distribution.
  */
 /*
- * lber_pvt.h - Header for lber_pvt_ functions. These are meant to be used
+ * lber_pvt.h - Header for ber_pvt_ functions. These are meant to be used
  *             by the OpenLDAP distribution only.
  */
 
@@ -22,13 +23,14 @@ LDAP_BEGIN_DECL
 /*
  * bprint.c
  */
-extern BER_LOG_PRINT_FN lber_pvt_log_print;
+LIBLBER_F( BER_LOG_PRINT_FN ) ber_pvt_log_print;
 
-LDAP_F int lber_pvt_log_printf LDAP_P((
+LIBLBER_F( int )
+ber_pvt_log_printf LDAP_P((
        int errlvl,
        int loglvl,
-       char *fmt,
-       ... ));
+       const char *fmt,
+       ... )) LDAP_GCCATTR((format(printf, 3, 4)));
 
 LDAP_END_DECL