From 91976ba707756f80101f9adfd594a0a785817a98 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 1 Nov 2000 13:03:01 +0000 Subject: [PATCH] Prevent a compile warning on FreeBSD by making pointers const (only needed for data, but not harmful for functions) old warning: "exports.c:59: warning: initialization discards `const' from pointer target type" git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86784 13f79535-47bb-0310-9956-ffa450edef68 --- build/buildexports.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/buildexports.sh b/build/buildexports.sh index c8313f3bb0..de8c7d8232 100755 --- a/build/buildexports.sh +++ b/build/buildexports.sh @@ -22,7 +22,7 @@ while read LINE do if [ "x`echo $LINE | egrep '^[:space:]*apr_'`" != "x" ]; then newline=`echo "$LINE" |\ - sed -e 's%^\(.*\)%void *ap_hack_\1 = \1\;%'` + sed -e 's%^\(.*\)%const void *ap_hack_\1 = \1\;%'` echo $newline fi done -- 2.40.0