From af1371ff5607224f02ed986503398af28d38537c Mon Sep 17 00:00:00 2001 From: des Date: Mon, 7 Aug 2006 15:08:35 +0000 Subject: [PATCH] Remove redundant definition of __assert(). git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@719 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/shmlog.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/varnish-cache/bin/varnishd/shmlog.c b/varnish-cache/bin/varnishd/shmlog.c index 6bd3c278..74747f7b 100644 --- a/varnish-cache/bin/varnishd/shmlog.c +++ b/varnish-cache/bin/varnishd/shmlog.c @@ -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 */ -} -- 2.39.5