diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2009-12-18 22:20:10 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2009-12-18 22:20:10 +0000 |
commit | 35627a0494030c78113e88b532ce2ac9fbd5a54c (patch) | |
tree | 4273a241fd26d458c1d2f2986d5c41623d709c82 /file_io/win32 | |
parent | 2457c1c29a50edf2f145dec4cf6b227ee4535c94 (diff) | |
download | apr-35627a0494030c78113e88b532ce2ac9fbd5a54c.tar.gz |
refactor for what is meant to strictly be internal functionality for 1 platform, move declarations out of .c sources
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892386 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/win32')
-rw-r--r-- | file_io/win32/pipe.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/file_io/win32/pipe.c b/file_io/win32/pipe.c index f1ab4895e..dbf264589 100644 --- a/file_io/win32/pipe.c +++ b/file_io/win32/pipe.c @@ -242,7 +242,7 @@ static apr_status_t create_socket_pipe(SOCKET *rd, SOCKET *wr) apr_status_t rv = APR_SUCCESS; int ll = sizeof(la); int lc = sizeof(ca); - int bm = 1; + unsigned long bm = 1; int uid[2]; int iid[2]; @@ -370,9 +370,9 @@ static apr_status_t socket_pipe_cleanup(void *thefile) return APR_SUCCESS; } -apr_status_t apr_file_socket_pipe_create(apr_file_t **in, - apr_file_t **out, - apr_pool_t *p) +apr_status_t file_socket_pipe_create(apr_file_t **in, + apr_file_t **out, + apr_pool_t *p) { apr_status_t rv; SOCKET rd; @@ -417,7 +417,7 @@ apr_status_t apr_file_socket_pipe_create(apr_file_t **in, return rv; } -apr_status_t apr_file_socket_pipe_close(apr_file_t *file) +apr_status_t file_socket_pipe_close(apr_file_t *file) { apr_status_t stat; if (!file->pipe) |