diff options
author | gstein <gstein@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-08 19:11:25 +0000 |
---|---|---|
committer | gstein <gstein@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-08 19:11:25 +0000 |
commit | 4312d029307fd2cca68055deccd3f09fadb4837d (patch) | |
tree | 7593aaa9cbb1a402c1304a9373d1cc6f7c21acb7 /include/apr_network_io.h | |
parent | 68c091f31d59752031dd326c5181040986abf1db (diff) | |
download | libapr-4312d029307fd2cca68055deccd3f09fadb4837d.tar.gz |
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
Diffstat (limited to 'include/apr_network_io.h')
-rw-r--r-- | include/apr_network_io.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |