diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-12-27 22:51:40 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-12-27 22:51:40 -0500 |
commit | 0cb6466541dabea5b7cd1df3e9fd65da1c54a737 (patch) | |
tree | 6eb5f5de9313edb31878ef8dcfd38edc62710568 | |
parent | 992ba517abcfe9c162df0ba1383a051fe4ebd77c (diff) | |
download | lighttpd-git-0cb6466541dabea5b7cd1df3e9fd65da1c54a737.tar.gz |
[mod_webdav] hide unused funcs depending on build
hide unused funcs depending on build flags
-rw-r--r-- | src/mod_webdav.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mod_webdav.c b/src/mod_webdav.c index ab52d6b1..13a520c4 100644 --- a/src/mod_webdav.c +++ b/src/mod_webdav.c @@ -3455,6 +3455,8 @@ webdav_propfind_dir (webdav_propfind_bufs * const restrict pb) } +#if defined(USE_PROPPATCH) || defined(USE_LOCKS) + static int webdav_open_chunk_file_rd (chunk * const c) { @@ -3518,7 +3520,6 @@ webdav_mmap_file_chunk (chunk * const c) } -#if defined(USE_PROPPATCH) || defined(USE_LOCKS) __attribute_noinline__ static xmlDoc * webdav_parse_chunkqueue (request_st * const r, @@ -3610,6 +3611,7 @@ webdav_parse_chunkqueue (request_st * const r, xmlFreeParserCtxt(ctxt); return NULL; } + #endif |