From dac4afbfdb717ffca55cddc661119efeb19f1ea7 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 28 Sep 2014 10:40:57 -0400 Subject: [PATCH] this was alraedy in there, whoops --- src/include/switch_apr.h | 1 - src/switch_apr.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/include/switch_apr.h b/src/include/switch_apr.h index ea08dc797b..0f872e2296 100644 --- a/src/include/switch_apr.h +++ b/src/include/switch_apr.h @@ -1408,7 +1408,6 @@ SWITCH_DECLARE(switch_status_t) switch_match_glob(const char *pattern, switch_ar SWITCH_DECLARE(switch_status_t) switch_os_sock_get(switch_os_socket_t *thesock, switch_socket_t *sock); SWITCH_DECLARE(switch_status_t) switch_os_sock_put(switch_socket_t **sock, switch_os_socket_t *thesock, switch_memory_pool_t *pool); SWITCH_DECLARE(switch_status_t) switch_socket_addr_get(switch_sockaddr_t ** sa, switch_bool_t remote, switch_socket_t *sock); -SWITCH_DECLARE(switch_status_t) switch_os_sock_put(switch_socket_t **sock, switch_os_socket_t *thesock, switch_memory_pool_t *pool); /** * Create an anonymous pipe. * @param in The file descriptor to use as input to the pipe. diff --git a/src/switch_apr.c b/src/switch_apr.c index bad894604c..5e7dc52dbd 100644 --- a/src/switch_apr.c +++ b/src/switch_apr.c @@ -653,11 +653,6 @@ SWITCH_DECLARE(switch_interval_time_t) switch_interval_time_from_timeval(struct /* socket stubs */ -SWITCH_DECLARE(switch_status_t) switch_os_sock_put(switch_socket_t **sock, switch_os_socket_t *thesock, switch_memory_pool_t *pool) -{ - return apr_os_sock_put(sock, thesock, pool); -} - SWITCH_DECLARE(switch_status_t) switch_os_sock_get(switch_os_socket_t *thesock, switch_socket_t *sock) { return apr_os_sock_get(thesock, sock);