]> git.sur5r.net Git - openldap/blobdiff - include/ac/assert.h
import fix to ITS#5172
[openldap] / include / ac / assert.h
index 6222ef576e335fb2aa7a57fcc5b8426049c7bc20..30bef2860de60fd2096b62fa09c990335b545a2c 100644 (file)
@@ -1,12 +1,17 @@
 /* Generic assert.h */
-/*
- * Copyright 1999 The OpenLDAP Foundation, Redwood City, California, USA
+/* $OpenLDAP$ */
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * 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 in file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #ifndef _AC_ASSERT_H
@@ -30,8 +35,8 @@
  * create a replacement and hope it works
  */
 
-LDAP_F(void) ber_pvt_assert LDAP_P((
-       LDAP_CONST char *file, int line, LDAP_CONST char *test));
+LBER_F (void) ber_pvt_assert LDAP_P(( const char *file, int line,
+       const char *test ));
 
 /* Can't use LDAP_STRING(test), that'd expand to "test" */
 #if defined(__STDC__) || defined(__cplusplus)