[PATCH 3 of 5] Style: keep return type and function name on different lines
Piotr Sikora
piotr at cloudflare.com
Tue Jul 8 10:06:19 UTC 2014
# HG changeset patch
# User Piotr Sikora <piotr at cloudflare.com>
# Date 1404813794 25200
# Tue Jul 08 03:03:14 2014 -0700
# Node ID 255c428fcd007d6aea07d51d5d010c2a4cefe966
# Parent b478fc52fb96a20d72dba1b46ebcaaf24c7356d2
Style: keep return type and function name on different lines.
Signed-off-by: Piotr Sikora <piotr at cloudflare.com>
diff -r b478fc52fb96 -r 255c428fcd00 src/os/win32/ngx_service.c
--- a/src/os/win32/ngx_service.c Tue Jul 08 03:03:14 2014 -0700
+++ b/src/os/win32/ngx_service.c Tue Jul 08 03:03:14 2014 -0700
@@ -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 **arg
}
-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 */
More information about the nginx-devel
mailing list