Commit c037bf9c authored by David Lawrence's avatar David Lawrence
Browse files

My last change caused new warnings on systems that were already making the

text arrays const.
parent d6da642b
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.18 2000/08/01 14:34:11 tale Exp $ # $Id: Makefile.in,v 1.19 2000/08/01 19:12:10 tale Exp $
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
...@@ -61,7 +61,7 @@ TARGETS = ${OBJS} ...@@ -61,7 +61,7 @@ TARGETS = ${OBJS}
confparser.c: confparser.y confparser.c: confparser.y
${YACC} -d ${srcdir}/confparser.y ${YACC} -d ${srcdir}/confparser.y
rm -f confparser.c confparser_p.h rm -f confparser.c confparser_p.h
sed -e '/^\#line/d' -e 's/\(char \*yy.*\[\]\)/const \1/' \ sed -e '/^\#line/d' -e 's/^\(char \*yy.*\[\]\)/const \1/' \
< y.tab.c > confparser.c < y.tab.c > confparser.c
rm -f y.tab.c rm -f y.tab.c
chmod a-w confparser.c chmod a-w confparser.c
......
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