You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by gs...@apache.org on 2001/08/08 21:11:25 UTC

cvs commit: apr/include apr_network_io.h

gstein      01/08/08 12:11:25

  Modified:    include  apr_network_io.h
  Log:
  Don't use the name "socket" because certain GCC settings warn about
  shadowing the global function socket()
  
  Revision  Changes    Path
  1.109     +2 -2      apr/include/apr_network_io.h
  
  Index: apr_network_io.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_network_io.h,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- apr_network_io.h	2001/07/30 17:56:16	1.108
  +++ apr_network_io.h	2001/08/08 19:11:25	1.109
  @@ -818,14 +818,14 @@
    * @param socket The socket to enable inheritance.
    * @deffunc void apr_socket_set_inherit(apr_socket_t *socket)
    */
  -APR_DECLARE(void) apr_socket_set_inherit(apr_socket_t *socket);
  +APR_DECLARE(void) apr_socket_set_inherit(apr_socket_t *skt);
   
   /**
    * Unset a socket from being inherited by child processes.
    * @param socket The socket to disable inheritance.
    * @deffunc void apr_socket_unset_inherit(apr_socket_t *socket)
    */
  -APR_DECLARE(void) apr_socket_unset_inherit(apr_socket_t *socket);
  +APR_DECLARE(void) apr_socket_unset_inherit(apr_socket_t *skt);
   
   #ifdef __cplusplus
   }