]> err.no Git - varnish/commitdiff
Remove redundant definition of __assert().
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Aug 2006 15:08:35 +0000 (15:08 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Aug 2006 15:08:35 +0000 (15:08 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@719 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/shmlog.c

index 6bd3c27846214b2f6c51494b991e20e9bbaf1f00..74747f7b51eca7a73f157d206ae8b6b98ff0391d 100644 (file)
@@ -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 */
-}