Received: from eggs.gnu.org ([2001:4830:134:3::10]:54865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO7zj-00074b-4N for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:05:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO7zi-0008Hu-6d for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:05:35 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO7zh-0008H6-Vl for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:05:34 -0500 From: Peter Maydell Date: Tue, 26 Jan 2016 18:05:30 +0000 Message-Id: <1453831531-667-2-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1453831531-667-1-git-send-email-peter.maydell@linaro.org> References: <1453831531-667-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 1/2] disas/microblaze.c: Don't define TRUE or FALSE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , patches@linaro.org Don't define TRUE and FALSE locally or manually include stdio.h; instead use osdep.h which provides them. This is a necessary prerequisite for moving to "everywhere includes osdep.h", because otherwise there is a compile error due to the redefinition of TRUE and FALSE. Signed-off-by: Peter Maydell --- disas/microblaze.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/disas/microblaze.c b/disas/microblaze.c index 5d15907..91b30ac 100644 --- a/disas/microblaze.c +++ b/disas/microblaze.c @@ -33,13 +33,10 @@ along with this program; if not, see . */ */ -#include +#include "qemu/osdep.h" #define STATIC_TABLE #define DEFINE_TABLE -#define TRUE 1 -#define FALSE 0 - #ifndef MICROBLAZE_OPC #define MICROBLAZE_OPC /* Assembler instructions for Xilinx's microblaze processor -- 1.9.1