]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/assert.c
hex escape everything requires escape (uncomment #define PRETTY_ESCAPE to revert...
[openldap] / libraries / liblber / assert.c
index d61306d29f8cf34b53e36497ccab3f9c23295076..c0530ad6ee4f9661071535f1ad1682d951b33a1a 100644 (file)
@@ -1,5 +1,6 @@
+/* $OpenLDAP$ */
 /*
- * Copyright 1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1999-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted only
@@ -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",