removed unnecessary strerror() in clixon_err() calls; added 'function' keyword in all function declarations in the test scripts
This commit is contained in:
parent
73414e2ece
commit
1f0147f996
42 changed files with 95 additions and 84 deletions
|
|
@ -203,7 +203,6 @@ clixon_proc_socket_close(pid_t pid,
|
|||
* @param[out] pid
|
||||
* @retval 0 OK
|
||||
* @retval -1 Error.
|
||||
* @note SIGCHLD is set to IGN here. Maybe it should be done in main?
|
||||
*/
|
||||
int
|
||||
clixon_proc_background(char **argv,
|
||||
|
|
@ -280,9 +279,6 @@ clixon_proc_background(char **argv,
|
|||
done:
|
||||
sigprocmask(SIG_SETMASK, &oset, NULL);
|
||||
set_signal(SIGINT, oldhandler, NULL);
|
||||
/* Ensure reap proc child in same session */
|
||||
if (set_signal(SIGCHLD, SIG_IGN, NULL) < 0)
|
||||
goto quit;
|
||||
*pid0 = child;
|
||||
retval = 0;
|
||||
quit:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue