From: phk Date: Fri, 15 Feb 2008 09:09:47 +0000 (+0000) Subject: Adjust to direct inclusion of config.h X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c38f7e4c0932feb060aaafc3f1e723577a61a320;p=varnish Adjust to direct inclusion of config.h git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2465 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/flint.lnt b/varnish-cache/bin/varnishd/flint.lnt index 37e5ebd4..bee88e35 100644 --- a/varnish-cache/bin/varnishd/flint.lnt +++ b/varnish-cache/bin/varnishd/flint.lnt @@ -9,7 +9,7 @@ -emacro(736, isnan) // isnanf --header(../../config.h) +// -header(../../config.h) // Fix strchr() semtics, it can only return NULL if arg2 != 0 -sem(strchr, 1p, type(1), 2n == 0 ? (@p < 1p) : (@p < 1p || @p == 0 )) diff --git a/varnish-cache/bin/varnishd/flint.sh b/varnish-cache/bin/varnishd/flint.sh index e96821db..f79c5313 100755 --- a/varnish-cache/bin/varnishd/flint.sh +++ b/varnish-cache/bin/varnishd/flint.sh @@ -5,6 +5,7 @@ flexelint \ -I/usr/include \ -I. \ -I../../include \ + -I../.. \ flint.lnt \ *.c > $T 2>&1