+2021-06-09 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-basics.h (NULL): Delete.
+
2021-06-09 Mike Frysinger <vapier@gentoo.org>
* nrun.c (main): Set default_callback.target_endian to
#include <setjmp.h>
-#ifndef NULL
-#define NULL 0
-#endif
-
-
#ifndef min
#define min(a, b) ((a) < (b) ? (a) : (b))
#endif
+2021-06-09 Mike Frysinger <vapier@gentoo.org>
+
+ * gen-itable.c (NULL): Delete.
+ * gen-model.c (NULL): Likewise.
+ * ld-cache.c (NULL): Likewise.
+ * ld-decode.c (NULL): Likewise.
+
2021-06-05 Mike Frysinger <vapier@gentoo.org>
* local.mk (all-recursive): Delete rule.
#include "gen-itable.h"
-#ifndef NULL
-#define NULL 0
-#endif
-
-
typedef struct _itable_info
{
#include "gen-model.h"
-#ifndef NULL
-#define NULL 0
-#endif
-
void
gen_model_h (lf *file, insn_table *table)
#include "ld-insn.h"
#include "ld-cache.h"
-#ifndef NULL
-#define NULL 0
-#endif
-
enum
{
#include "ld-decode.h"
-#ifndef NULL
-#define NULL 0
-#endif
-
static const name_map decode_type_map[] = {
{"normal", normal_decode_rule},
+2021-06-09 Mike Frysinger <vapier@gentoo.org>
+
+ * basics.h (NULL): Delete.
+ * gen-itable.c (NULL): Likewise.
+ * gen-model.c (NULL): Likewise.
+ * ld-cache.c (NULL): Likewise.
+ * ld-decode.c (NULL): Likewise.
+
2021-05-29 Mike Frysinger <vapier@gentoo.org>
* configure.ac (WERROR_CFLAGS): Add -Wno-format for mingw32 hosts.
#define NORETURN
#endif
-#ifndef NULL
-#define NULL 0
-#endif
-
#if !defined (__attribute__)
#if (!defined(__GNUC__) \
|| (__GNUC__ < 2) \
#include "igen.h"
#include "gen-itable.h"
-#ifndef NULL
-#define NULL 0
-#endif
-
-
static void
itable_h_insn(insn_table *entry,
#include "gen-model.h"
-#ifndef NULL
-#define NULL 0
-#endif
-
static void
model_c_or_h_data(insn_table *table,
#include "table.h"
#include "ld-cache.h"
-#ifndef NULL
-#define NULL 0
-#endif
-
enum {
ca_type,
#include "table.h"
#include "ld-decode.h"
-#ifndef NULL
-#define NULL 0
-#endif
enum {
op_options,