Use const in spawn, remove redundant ()

This commit is contained in:
Thomas Orozco 2015-04-04 15:23:14 +02:00
parent f3c3b1ec14
commit 1c52aee22c
1 changed files with 1 additions and 1 deletions

View File

@ -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();