Skip to content

Commit

Permalink
Style: keep return type and function name on different lines.
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Sikora <[email protected]>
  • Loading branch information
PiotrSikora committed Jul 8, 2014
1 parent 2cfcef5 commit a2229a4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/os/win32/ngx_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand All @@ -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;
Expand Down Expand Up @@ -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 */

Expand Down

0 comments on commit a2229a4

Please sign in to comment.