From: Florian Forster Date: Tue, 9 Mar 2010 17:50:55 +0000 (+0100) Subject: Exec plugin: Set the "noreturn" attribute on the "exec_child" function. X-Git-Tag: collectd-4.8.4~14 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=48e0f03121f8c89ddd984454cab29cb17f776c92;p=collectd.git Exec plugin: Set the "noreturn" attribute on the "exec_child" function. --- diff --git a/src/exec.c b/src/exec.c index 95a6831a..9a307b97 100644 --- a/src/exec.c +++ b/src/exec.c @@ -265,6 +265,7 @@ static int exec_config (oconfig_item_t *ci) /* {{{ */ return (0); } /* int exec_config }}} */ +__attribute__((noreturn)) static void exec_child (program_list_t *pl) /* {{{ */ { int status;