httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/build buildexports.sh
Date Wed, 01 Nov 2000 13:03:06 GMT
trawick     00/11/01 05:03:04

  Modified:    src/build buildexports.sh
  Log:
  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"
  
  Revision  Changes    Path
  1.2       +1 -1      apache-2.0/src/build/buildexports.sh
  
  Index: buildexports.sh
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/build/buildexports.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- buildexports.sh	2000/10/30 23:08:26	1.1
  +++ buildexports.sh	2000/11/01 13:03:01	1.2
  @@ -22,7 +22,7 @@
   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
  
  
  

Mime
View raw message