# HG changeset patch # User Igor Sysoev # Date 1186414826 0 # Node ID 2cc9b6651f759824c24757ff9e2d1251d52a7d6d # Parent 7dbdf47cdcbaa94ae972d9444f4c72c725312bcf omit unnecessary XSRETURN_EMPTY 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 @@ -472,8 +472,6 @@ header_out(r, key, value) r->headers_out.content_length = header; } - XSRETURN_EMPTY; - void filename(r) @@ -600,8 +598,6 @@ print(r, ...) (void) ngx_http_perl_output(r, b); - XSRETURN_EMPTY; - void sendfile(r, filename, offset = -1, bytes = 0) @@ -688,8 +684,6 @@ sendfile(r, filename, offset = -1, bytes (void) ngx_http_perl_output(r, b); - XSRETURN_EMPTY; - void flush(r) @@ -755,8 +749,6 @@ allow_ranges(r) r->allow_ranges = 1; - XSRETURN_EMPTY; - void unescape(r, text, type = 0) @@ -953,8 +945,6 @@ sleep(r, sleep, next) ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "perl sleep: %d", ctx->sleep); - XSRETURN_EMPTY; - void log_error(r, err, msg) @@ -985,5 +975,3 @@ log_error(r, err, msg) p = (u_char *) SvPV(msg, len); ngx_log_error(NGX_LOG_ERR, r->connection->log, e, "perl: %s", p); - - XSRETURN_EMPTY;