]> git.kaiwu.me - nginx.git/commitdiff
Style: keep return type and function name on different lines.
authorPiotr Sikora <piotr@cloudflare.com>
Tue, 8 Jul 2014 10:03:14 +0000 (03:03 -0700)
committerPiotr Sikora <piotr@cloudflare.com>
Tue, 8 Jul 2014 10:03:14 +0000 (03:03 -0700)
Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
src/os/win32/ngx_service.c

index dc2c6e4756dced74ec826cffe9f0fb4b4c1d8024..835d9cf000767de5e35d8fa004eab8e9425aa4fb 100644 (file)
@@ -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 */