From a2229a40352b21fb69baa12d76d0da17b7690ec8 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Tue, 8 Jul 2014 03:03:14 -0700 Subject: [PATCH] Style: keep return type and function name on different lines. Signed-off-by: Piotr Sikora --- src/os/win32/ngx_service.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/os/win32/ngx_service.c b/src/os/win32/ngx_service.c index dc2c6e475..835d9cf00 100644 --- a/src/os/win32/ngx_service.c +++ b/src/os/win32/ngx_service.c @@ -16,7 +16,8 @@ SERVICE_TABLE_ENTRY st[] = { }; -ngx_int_t ngx_service(ngx_log_t *log) +ngx_int_t +ngx_service(ngx_log_t *log) { /* primary thread */ @@ -32,7 +33,8 @@ ngx_int_t ngx_service(ngx_log_t *log) } -void service_main(u_int argc, char **argv) +void +service_main(u_int argc, char **argv) { SERVICE_STATUS status; SERVICE_STATUS_HANDLE service; @@ -85,7 +87,8 @@ void service_main(u_int argc, char **argv) } -u_int service_handler(u_int control, u_int type, void *data, void *ctx) +u_int +service_handler(u_int control, u_int type, void *data, void *ctx) { /* primary thread */