diff options
author | brane <brane@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-05 17:58:10 +0000 |
---|---|---|
committer | brane <brane@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-05 17:58:10 +0000 |
commit | dc6258639c3e392dfd266c0934163f45ffc793bc (patch) | |
tree | 4fdac25b5be377ad8f028b30d4bb53728d17d333 /network_io/win32 | |
parent | 268df08ca70aedf39b70c7231d1e91cebba459a7 (diff) | |
download | libapr-dc6258639c3e392dfd266c0934163f45ffc793bc.tar.gz |
Changed the return values of the apr_*_inherit_(un)set functions from
void to apr_status_t. The deprecated versios, apr_*_(un)set_inherit,
are still void, so that we don't inadvertently break code that uses them.
Updated all uses of apr_file_inherit_set in threadproc/win32/proc.c,
and replaced make_handle_private with apr_file_inherit_unset.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63576 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/win32')
-rw-r--r-- | network_io/win32/sockets.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/network_io/win32/sockets.c b/network_io/win32/sockets.c index af0fc8035..0487a2be1 100644 --- a/network_io/win32/sockets.c +++ b/network_io/win32/sockets.c @@ -430,22 +430,22 @@ APR_DECLARE(apr_status_t) apr_os_sock_put(apr_socket_t **sock, * This is not trivial to implement. */ -APR_DECLARE(void) apr_socket_inherit_set(apr_socket_t *socket) +APR_DECLARE(apr_status_t) apr_socket_inherit_set(apr_socket_t *socket) { - return /* APR_ENOTIMPL */; + return APR_ENOTIMPL; } /* Deprecated */ APR_DECLARE(void) apr_socket_set_inherit(apr_socket_t *socket) { - /* return */ apr_socket_inherit_set(socket); + apr_socket_inherit_set(socket); } -APR_DECLARE(void) apr_socket_inherit_unset(apr_socket_t *socket) +APR_DECLARE(apr_status_t) apr_socket_inherit_unset(apr_socket_t *socket) { - return /* APR_ENOTIMPL */; + return APR_ENOTIMPL; } /* Deprecated */ APR_DECLARE(void) apr_socket_unset_inherit(apr_socket_t *socket) { - /* return */ apr_socket_inherit_unset(socket); + apr_socket_inherit_unset(socket); } |