Commit 7913d205 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Remove redundant definition of __assert().

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@719 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 5aac3566
......@@ -188,17 +188,3 @@ VSL_MgtInit(const char *fn, unsigned size)
*/
VSL_Init();
}
/*--------------------------------------------------------------------*/
void
__assert(const char *func, const char *file, int line, const char *failedexpr)
{
(void)fprintf(stderr,
"\r\nAssertion failed: (%s)\n"
" function %s, file %s, line %d.\n"
" errno %d = \"%s\"\n",
failedexpr, func, file, line, errno, strerror(errno));
abort();
/* NOTREACHED */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment