]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/assert.c
setting UFN prefix to NULL should clear prefix not cause crash.
[openldap] / libraries / liblber / assert.c
index d61306d29f8cf34b53e36497ccab3f9c23295076..50b70dd53b1a0cfba52da14ee357ef7d60d375bd 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright 1999 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
@@ -12,7 +13,7 @@
 
 #ifdef LDAP_NEED_ASSERT
 
-#include <ac/stdio.h>
+#include <stdio.h>
 
 /*
  * helper for our private assert() macro
@@ -22,7 +23,8 @@
  * issue for now.
  */
 
-void ber_pvt_assert(char* file, int line, char* test)
+void
+ber_pvt_assert( const char *file, int line, const char *test )
 {
        fprintf(stderr,
                "Assertion failed: %s, file %s, line %d\n",