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/lib/apr/network_io/unix sendrecv.c
Date Fri, 17 Nov 2000 04:19:19 GMT
trawick     00/11/16 20:19:19

  Modified:    src/lib/apr/network_io/unix sendrecv.c
  Log:
  Add a prototype for the dummy version of APR_SENDFILE, since the real
  prototype is hidden in apr_network_io.h when !APR_HAS_SENDFILE.
  
  This avoids a warning with gcc/--with-maintainer-mode.
  
  Revision  Changes    Path
  1.51      +4 -0      apache-2.0/src/lib/apr/network_io/unix/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sendrecv.c,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- sendrecv.c	2000/11/17 02:33:00	1.50
  +++ sendrecv.c	2000/11/17 04:19:18	1.51
  @@ -720,6 +720,10 @@
    */
   apr_status_t apr_sendfile(apr_socket_t *sock, apr_file_t *file,
                             apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len,
  +                          apr_int32_t flags); /* avoid warning for no proto */
  +
  +apr_status_t apr_sendfile(apr_socket_t *sock, apr_file_t *file,
  +                          apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len,
                             apr_int32_t flags)
   {
       return APR_ENOTIMPL;
  
  
  

Mime
View raw message