Mercurial > hg > nginx
comparison src/os/unix/ngx_daemon.c @ 4574:b1ba43f905f8
Style: the function type should be on a line by itself
preceding the function. No functional changes.
author | Maxim Konovalov <maxim@nginx.com> |
---|---|
date | Thu, 05 Apr 2012 15:32:43 +0000 |
parents | d620f497c50f |
children | 8b84d60ef13d |
comparison
equal
deleted
inserted
replaced
4573:98a2518a98dc | 4574:b1ba43f905f8 |
---|---|
7 | 7 |
8 #include <ngx_config.h> | 8 #include <ngx_config.h> |
9 #include <ngx_core.h> | 9 #include <ngx_core.h> |
10 | 10 |
11 | 11 |
12 ngx_int_t ngx_daemon(ngx_log_t *log) | 12 ngx_int_t |
13 ngx_daemon(ngx_log_t *log) | |
13 { | 14 { |
14 int fd; | 15 int fd; |
15 | 16 |
16 switch (fork()) { | 17 switch (fork()) { |
17 case -1: | 18 case -1: |