Mercurial > hg > nginx
comparison src/core/ngx_conf_file.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 | 01a21ee8f8bb |
children | 1c5e2e4d5b35 |
comparison
equal
deleted
inserted
replaced
4797:d1cea70248c7 | 4798:29928279ec9f |
---|---|
1446 | 1446 |
1447 return NGX_CONF_OK; | 1447 return NGX_CONF_OK; |
1448 } | 1448 } |
1449 | 1449 |
1450 | 1450 |
1451 #if 0 | |
1452 | |
1451 char * | 1453 char * |
1452 ngx_conf_unsupported(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) | 1454 ngx_conf_unsupported(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) |
1453 { | 1455 { |
1454 return "unsupported on this platform"; | 1456 return "unsupported on this platform"; |
1455 } | 1457 } |
1458 | |
1459 #endif | |
1456 | 1460 |
1457 | 1461 |
1458 char * | 1462 char * |
1459 ngx_conf_deprecated(ngx_conf_t *cf, void *post, void *data) | 1463 ngx_conf_deprecated(ngx_conf_t *cf, void *post, void *data) |
1460 { | 1464 { |