httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@hyperreal.org
Subject cvs commit: apache-2.0/src/os/unix iol_socket.c
Date Tue, 30 Nov 1999 02:53:15 GMT
manoj       99/11/29 18:53:14

  Modified:    src/os/unix iol_socket.c
  Log:
  Eliminate some warnings.
  
  Revision  Changes    Path
  1.12      +3 -5      apache-2.0/src/os/unix/iol_socket.c
  
  Index: iol_socket.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/unix/iol_socket.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -d -u -r1.11 -r1.12
  --- iol_socket.c	1999/11/15 19:50:31	1.11
  +++ iol_socket.c	1999/11/30 02:53:12	1.12
  @@ -86,8 +86,6 @@
   
   static ap_status_t unix_getopt(ap_iol *viol, ap_iol_option opt, void *value)
   {
  -    iol_socket *iol = (iol_socket *)viol;
  -
       switch (opt) {
       case AP_IOL_TIMEOUT:
       	/* no-op */
  @@ -99,21 +97,21 @@
   }
   
   
  -ap_status_t unix_write(ap_iol *viol, const char* buf, ap_size_t size,
  +static ap_status_t unix_write(ap_iol *viol, const char* buf, ap_size_t size,
        ap_ssize_t *nbytes)
   {
       *nbytes = size;
       return ap_send(((iol_socket *)viol)->sock, buf, nbytes);
   }
   
  -ap_status_t unix_writev(ap_iol *viol, const struct iovec *vec, int nvec,
  +static ap_status_t unix_writev(ap_iol *viol, const struct iovec *vec, int nvec,
       ap_ssize_t *nbytes)
   {
       *nbytes = vec[0].iov_len;
       return ap_send(((iol_socket *)viol)->sock, vec[0].iov_base, nbytes);
   }
   
  -ap_status_t unix_read(ap_iol *viol, char* buf, ap_size_t size,
  +static ap_status_t unix_read(ap_iol *viol, char* buf, ap_size_t size,
        ap_ssize_t *nbytes)
   {
       *nbytes = size;
  
  
  

Mime
View raw message