OSDN Git Service

- exec_comm_child can not return ever
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 18 Sep 2008 12:03:40 +0000 (12:03 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 18 Sep 2008 12:03:40 +0000 (12:03 -0000)
libc/misc/wordexp/wordexp.c

index 145c24c..d8b2db1 100644 (file)
@@ -784,7 +784,7 @@ parse_arith(char **word, size_t * word_length, size_t * max_length,
 }
 
 /* Function called by child process in exec_comm() */
-static void
+static void attribute_noreturn
 exec_comm_child(char *comm, int *fildes, int showerr, int noexec)
 {
        const char *args[4] = { _PATH_BSHELL, "-c", comm, NULL };