[nginx] Perl: prototyping behavior explicitly specified.

Maxim Dounin mdounin at mdounin.ru
Tue Aug 18 13:27:01 UTC 2015


details:   http://hg.nginx.org/nginx/rev/c6cc0b79a43d
branches:  
changeset: 6233:c6cc0b79a43d
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Tue Aug 18 16:26:18 2015 +0300
description:
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:

 src/http/modules/perl/nginx.xs |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
--- 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 
 MODULE = nginx    PACKAGE = nginx
 
 
+PROTOTYPES: DISABLE
+
+
 void
 status(r, code)
     CODE:



More information about the nginx-devel mailing list