From 20ce4fcbbf7c1504cc520905dfde1b2790011e31 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 6 Aug 2012 17:07:28 +0000 Subject: 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. --- src/core/ngx_conf_file.c | 4 ++++ src/core/ngx_crypt.c | 1 + 2 files changed, 5 insertions(+) (limited to 'src/core') diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index 892fa4719..01715af35 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -1448,12 +1448,16 @@ ngx_conf_set_bitmask_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } +#if 0 + char * ngx_conf_unsupported(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) { return "unsupported on this platform"; } +#endif + char * ngx_conf_deprecated(ngx_conf_t *cf, void *post, void *data) diff --git a/src/core/ngx_crypt.c b/src/core/ngx_crypt.c index 9564c3618..365f9c82a 100644 --- a/src/core/ngx_crypt.c +++ b/src/core/ngx_crypt.c @@ -6,6 +6,7 @@ #include #include +#include #include #if (NGX_HAVE_SHA1) #include -- cgit