summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2015-08-18 16:26:18 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2015-08-18 16:26:18 +0300
commit2e004237c52b6281514571714bf0ba0b23452846 (patch)
tree05cd37fd5958edbaea71000ce306fd6466275be3
parenta0aea61b50e90adf94b713cef4b789f932107107 (diff)
downloadnginx-2e004237c52b6281514571714bf0ba0b23452846.tar.gz
nginx-2e004237c52b6281514571714bf0ba0b23452846.tar.bz2
Perl: prototyping behavior explicitly specified.
When prototyping behavior is not explicitly specified, xsubpp emits a message to stderr asking to do so (see ticket #608).
Diffstat (limited to '')
-rw-r--r--src/http/modules/perl/nginx.xs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index ae8584502..6716620af 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -98,6 +98,9 @@ ngx_http_perl_output(ngx_http_request_t *r, ngx_buf_t *b)
MODULE = nginx PACKAGE = nginx
+PROTOTYPES: DISABLE
+
+
void
status(r, code)
CODE: