Mercurial > hg > nginx
comparison src/os/unix/ngx_posix_init.c @ 4798:29928279ec9f stable-1.2
Merge of r4760, r4761: -Wmissing-prototypes.
Fixed compilation with -Wmissing-prototypes. Added a commented
out -Wmissing-prototypes to CFLAGS. It is commented out to not break
builds with 3rd party modules.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 06 Aug 2012 17:07:28 +0000 |
parents | ccb2f8e3d08d |
children | 1209b8a7b077 |
comparison
equal
deleted
inserted
replaced
4797:d1cea70248c7 | 4798:29928279ec9f |
---|---|
96 "getrlimit(RLIMIT_NOFILE): %r:%r", | 96 "getrlimit(RLIMIT_NOFILE): %r:%r", |
97 rlmt.rlim_cur, rlmt.rlim_max); | 97 rlmt.rlim_cur, rlmt.rlim_max); |
98 } | 98 } |
99 | 99 |
100 | 100 |
101 #if 0 | |
102 | |
101 ngx_int_t | 103 ngx_int_t |
102 ngx_posix_post_conf_init(ngx_log_t *log) | 104 ngx_posix_post_conf_init(ngx_log_t *log) |
103 { | 105 { |
104 ngx_fd_t pp[2]; | 106 ngx_fd_t pp[2]; |
105 | 107 |
120 } | 122 } |
121 } | 123 } |
122 | 124 |
123 return NGX_OK; | 125 return NGX_OK; |
124 } | 126 } |
127 | |
128 #endif |