Skip to content

Commit

Permalink
disas/microblaze.c: Don't define TRUE or FALSE
Browse files Browse the repository at this point in the history
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 <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1453831531-667-2-git-send-email-peter.maydell@linaro.org
  • Loading branch information
pm215 committed Jan 28, 2016
1 parent 39c36a0 commit 94616c2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions disas/microblaze.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,10 @@ along with this program; if not, see <http://www.gnu.org/licenses/>. */
*/


#include <stdio.h>
#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
Expand Down

0 comments on commit 94616c2

Please sign in to comment.