From 0d44f16f6738c0776edf60b84f49f0c6f875a8fe Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 May 2015 14:40:46 +0200 Subject: style + add timed read example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/examples/daemon-depedencies/init.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/examples/daemon-depedencies/init.c') diff --git a/doc/examples/daemon-depedencies/init.c b/doc/examples/daemon-depedencies/init.c index 09a6abf..b7182c6 100644 --- a/doc/examples/daemon-depedencies/init.c +++ b/doc/examples/daemon-depedencies/init.c @@ -14,7 +14,8 @@ static char **argv; static char arg[4098]; -static void start_daemons() +static void +start_daemons() { int i; for (i = 1; i < argc; i++) @@ -23,7 +24,8 @@ static void start_daemons() } -static int callback(const char *message, void *user_data) +static int +callback(const char *message, void *user_data) { pid_t pid; char *arg2; @@ -91,7 +93,8 @@ fail: } -int main(int argc_, char *argv_[]) +int +main(int argc_, char *argv_[]) { char *bus_address = NULL; bus_t bus; -- cgit v1.2.3-70-g09d2