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.
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user