Klaus Demo nginx / 06187ce
style fix Igor Sysoev 14 years ago
2 changed file(s) with 8 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
1010
1111 #if (NGX_HAVE_KQUEUE)
1212
13 ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
13 ssize_t
14 ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
1415 {
1516 ssize_t n;
1617 ngx_err_t err;
125126
126127 #else /* ! NGX_HAVE_KQUEUE */
127128
128 ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
129 ssize_t
130 ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
129131 {
130132 ssize_t n;
131133 ngx_err_t err;
88 #include <ngx_event.h>
99
1010
11 ssize_t ngx_wsarecv(ngx_connection_t *c, u_char *buf, size_t size)
11 ssize_t
12 ngx_wsarecv(ngx_connection_t *c, u_char *buf, size_t size)
1213 {
1314 int rc;
1415 u_long bytes, flags;
5657 }
5758
5859
59 ssize_t ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size)
60 ssize_t
61 ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size)
6062 {
6163 int rc;
6264 u_long bytes, flags;