From 1c52aee22c19f014c3bed72ef98ca37368837b1c Mon Sep 17 00:00:00 2001 From: Thomas Orozco Date: Sat, 4 Apr 2015 15:23:14 +0200 Subject: [PATCH] Use const in spawn, remove redundant () --- src/tini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tini.c b/src/tini.c index 11118a9..8b2f07e 100644 --- a/src/tini.c +++ b/src/tini.c @@ -28,7 +28,7 @@ static int verbosity = 0; static struct timespec ts = { .tv_sec = 1, .tv_nsec = 0 }; -int spawn(const sigset_t* const child_sigset_ptr, char (*argv[]), int* const child_pid_ptr) { +int spawn(const sigset_t* const child_sigset_ptr, char* const argv[], int* const child_pid_ptr) { pid_t pid; pid = fork();