aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-07-24 15:09:54 +0000
committerRuslan Ermilov <ru@nginx.com>2012-07-24 15:09:54 +0000
commit1efcca36cc97faa42cfc48128b25c9e1ed748bbd (patch)
treeaa514d2c62978205f2d4216cd51aab049c11d700 /src/core
parent7e72000482b439da9536907a67ccc34cdbb2afef (diff)
downloadnginx-1efcca36cc97faa42cfc48128b25c9e1ed748bbd.tar.gz
nginx-1efcca36cc97faa42cfc48128b25c9e1ed748bbd.zip
Fixed compilation with -Wmissing-prototypes.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_conf_file.c4
-rw-r--r--src/core/ngx_crypt.c1
2 files changed, 5 insertions, 0 deletions
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 <ngx_config.h>
#include <ngx_core.h>
+#include <ngx_crypt.h>
#include <ngx_md5.h>
#if (NGX_HAVE_SHA1)
#include <ngx_sha1.h>