aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-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/common/sim-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/common/sim-basics.h')
-rw-r--r--sim/common/sim-basics.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h
index 25c1193..ac63aef 100644
--- a/sim/common/sim-basics.h
+++ b/sim/common/sim-basics.h
@@ -36,11 +36,6 @@
#include <setjmp.h>
-#ifndef NULL
-#define NULL 0
-#endif
-
-
#ifndef min
#define min(a, b) ((a) < (b) ? (a) : (b))
#endif