#define assert(e) \
do { \
if (e) \
- __assert(__func__, __FILE__, __LINE__, #e, errno); \
+ lbv_assert(__func__, __FILE__, __LINE__, #e, errno); \
} while (0)
#endif
-void __assert(const char *, const char *, int, const char *, int);
+void lbv_assert(const char *, const char *, int, const char *, int);
/* Assert zero return value */
#define AZ(foo) do { assert((foo) == 0); } while (0)
#include "libvarnish.h"
void
-__assert(const char *func, const char *file, int line, const char *cond, int err)
+lbv_assert(const char *func, const char *file, int line, const char *cond, int err)
{
fprintf(stderr,