From 15b196c28eb64db782903dcaf8ce235c4bc2f91d Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 1 Aug 2000 14:34:11 +0000 Subject: [PATCH] Signficantly reduced the const warnings from confparser.c. I did not copy this to all platforms to test it everywhere, but I will keep an eye on the build status page to be sure it did not mess up anything else. --- lib/dns/config/Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dns/config/Makefile.in b/lib/dns/config/Makefile.in index 06193dd2a5..f9980fcbe6 100644 --- a/lib/dns/config/Makefile.in +++ b/lib/dns/config/Makefile.in @@ -13,7 +13,7 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.17 2000/08/01 01:23:13 tale Exp $ +# $Id: Makefile.in,v 1.18 2000/08/01 14:34:11 tale Exp $ srcdir = @srcdir@ VPATH = @srcdir@ @@ -61,7 +61,8 @@ TARGETS = ${OBJS} confparser.c: confparser.y ${YACC} -d ${srcdir}/confparser.y rm -f confparser.c confparser_p.h - sed -e '/^\#line/d' < y.tab.c > confparser.c + sed -e '/^\#line/d' -e 's/\(char \*yy.*\[\]\)/const \1/' \ + < y.tab.c > confparser.c rm -f y.tab.c chmod a-w confparser.c mv y.tab.h confparser_p.h