aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/daemon-depedencies/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/daemon-depedencies/init.c')
-rw-r--r--doc/examples/daemon-depedencies/init.c9
1 files changed, 6 insertions, 3 deletions
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;