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/await-started.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/examples/daemon-depedencies/await-started.c') diff --git a/doc/examples/daemon-depedencies/await-started.c b/doc/examples/daemon-depedencies/await-started.c index 0408acb..99ba14f 100644 --- a/doc/examples/daemon-depedencies/await-started.c +++ b/doc/examples/daemon-depedencies/await-started.c @@ -17,7 +17,8 @@ static char *started = NULL; static char msg[BUS_MEMORY_SIZE]; -static void announce_wait(pid_t pid) +static void +announce_wait(pid_t pid) { bus_t bus; int i; @@ -36,7 +37,8 @@ fail: } -static int callback(const char *message, void *user_data) +static int +callback(const char *message, void *user_data) { int i; char *arg2; @@ -80,7 +82,8 @@ static int callback(const char *message, void *user_data) } -int main(int argc_, char *argv_[]) +int +main(int argc_, char *argv_[]) { bus_t bus; int i; -- cgit v1.2.3-70-g09d2