Revert "mksyscall: Suppress "'noreturn' function does return" warnings"

This reverts commit f01953d364.
This commit is contained in:
Jukka Laitinen 2020-12-03 16:13:42 +02:00 committed by Xiang Xiao
parent 31854ca135
commit 82a75122b0

View File

@ -199,12 +199,6 @@ static void generate_proxy(int nfixed, int nparms)
g_parm[NAME_INDEX]);
fprintf(stream, "#include <nuttx/config.h>\n");
/* Suppress "'noreturn' function does return" warnings. */
fprintf(stream, "#include <nuttx/compiler.h>\n");
fprintf(stream, "#undef noreturn_function\n");
fprintf(stream, "#define noreturn_function\n");
/* Does this function have a variable number of parameters? If so then the
* final parameter type will be encoded as "..."
*/