aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/basics.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-06 18:13:41 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-09 19:07:09 -0400
commit943f9baa37aa2704820439d4f72a7624c7eb4968 (patch)
tree6524433ccdab90d3755b1283fddc0292aa36c2bb /sim/ppc/basics.h
parentdc3de083d522ef0fb465adaacd065a61481d4007 (diff)
downloadgdb-943f9baa37aa2704820439d4f72a7624c7eb4968.zip
gdb-943f9baa37aa2704820439d4f72a7624c7eb4968.tar.gz
gdb-943f9baa37aa2704820439d4f72a7624c7eb4968.tar.bz2
sim: cleanup obsolete NULL fallback
We require C11 which defines NULL, so drop the inconsistent set of fallback defines in the codebase.
Diffstat (limited to 'sim/ppc/basics.h')
-rw-r--r--sim/ppc/basics.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sim/ppc/basics.h b/sim/ppc/basics.h
index 057cf1a..3eb7c61 100644
--- a/sim/ppc/basics.h
+++ b/sim/ppc/basics.h
@@ -103,10 +103,6 @@ typedef enum {
#define NORETURN
#endif
-#ifndef NULL
-#define NULL 0
-#endif
-
#if !defined (__attribute__)
#if (!defined(__GNUC__) \
|| (__GNUC__ < 2) \