From bdf2ec5421505f7e8549e56d061366f1aa1a6f1e Mon Sep 17 00:00:00 2001 From: Nyholm Date: Wed, 12 Aug 2020 09:33:28 +0200 Subject: [PATCH 1/2] Small CS fix --- sapi/fpm/fpm/fpm_request.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/fpm/fpm/fpm_request.h b/sapi/fpm/fpm/fpm_request.h index 15bce58e4b53f..7195e4121756c 100644 --- a/sapi/fpm/fpm/fpm_request.h +++ b/sapi/fpm/fpm/fpm_request.h @@ -7,7 +7,7 @@ void fpm_request_accepting(); /* hanging in accept() */ void fpm_request_reading_headers(); /* start reading fastcgi request from very first byte */ void fpm_request_info(); /* not a stage really but a point in the php code, where all request params have become known to sapi */ void fpm_request_executing(); /* the script is executing */ -void fpm_request_end(void); /* request ended: script response have been sent to web server */ +void fpm_request_end(void); /* request ended: script response have been sent to web server */ void fpm_request_finished(); /* request processed: cleaning current request */ struct fpm_child_s; From 108015394146e24577b8d2eb3fdc23398b0944d0 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Wed, 12 Aug 2020 09:48:25 +0200 Subject: [PATCH 2/2] Move comments before the declaration --- sapi/fpm/fpm/fpm_request.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/sapi/fpm/fpm/fpm_request.h b/sapi/fpm/fpm/fpm_request.h index 7195e4121756c..4d287427d68d4 100644 --- a/sapi/fpm/fpm/fpm_request.h +++ b/sapi/fpm/fpm/fpm_request.h @@ -3,12 +3,18 @@ #ifndef FPM_REQUEST_H #define FPM_REQUEST_H 1 -void fpm_request_accepting(); /* hanging in accept() */ -void fpm_request_reading_headers(); /* start reading fastcgi request from very first byte */ -void fpm_request_info(); /* not a stage really but a point in the php code, where all request params have become known to sapi */ -void fpm_request_executing(); /* the script is executing */ -void fpm_request_end(void); /* request ended: script response have been sent to web server */ -void fpm_request_finished(); /* request processed: cleaning current request */ +/* hanging in accept() */ +void fpm_request_accepting(); +/* start reading fastcgi request from very first byte */ +void fpm_request_reading_headers(); +/* not a stage really but a point in the php code, where all request params have become known to sapi */ +void fpm_request_info(); +/* the script is executing */ +void fpm_request_executing(); +/* request ended: script response have been sent to web server */ +void fpm_request_end(void); +/* request processed: cleaning current request */ +void fpm_request_finished(); struct fpm_child_s; struct timeval;