From 82a75122b037ceb0ff86774351a9104c214dbdb7 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Thu, 3 Dec 2020 16:13:42 +0200 Subject: [PATCH] Revert "mksyscall: Suppress "'noreturn' function does return" warnings" This reverts commit f01953d364b1bf5a156e6c5f8b344474953e08f0. --- tools/mksyscall.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/mksyscall.c b/tools/mksyscall.c index 21fe29d768..8d81249018 100644 --- a/tools/mksyscall.c +++ b/tools/mksyscall.c @@ -199,12 +199,6 @@ static void generate_proxy(int nfixed, int nparms) g_parm[NAME_INDEX]); fprintf(stream, "#include \n"); - /* Suppress "'noreturn' function does return" warnings. */ - - fprintf(stream, "#include \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 "..." */