]> git.kaiwu.me - nginx.git/commitdiff
Perl: prototyping behavior explicitly specified.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 18 Aug 2015 13:26:18 +0000 (16:26 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 18 Aug 2015 13:26:18 +0000 (16:26 +0300)
When prototyping behavior is not explicitly specified, xsubpp emits
a message to stderr asking to do so (see ticket #608).

src/http/modules/perl/nginx.xs

index ae8584502c9d00d378c59a2535cac8e5454e492d..6716620afc3fd50b24dbdc385365a0a5a6705867 100644 (file)
@@ -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: