From 4312d029307fd2cca68055deccd3f09fadb4837d Mon Sep 17 00:00:00 2001 From: gstein Date: Wed, 8 Aug 2001 19:11:25 +0000 Subject: Don't use the name "socket" because certain GCC settings warn about shadowing the global function socket() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62134 13f79535-47bb-0310-9956-ffa450edef68 --- include/apr_network_io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/apr_network_io.h') diff --git a/include/apr_network_io.h b/include/apr_network_io.h index d49a01ac0..05800a701 100644 --- a/include/apr_network_io.h +++ b/include/apr_network_io.h @@ -818,14 +818,14 @@ apr_status_t apr_socket_accept_filter(apr_socket_t *sock, char *name, * @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 } -- cgit v1.2.1