]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
x86/hvmloader: Don't override stddef.h
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 24 Aug 2022 10:06:18 +0000 (11:06 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 24 Mar 2023 12:16:31 +0000 (12:16 +0000)
Since c/s 73b13705af7c ("firmware: provide a stand alone set of headers"),
we've had a proper stddef.h.  Actually use it.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/firmware/hvmloader/util.h

index 7249773eebca2da35076c4afe5f729357460ed4b..87be213dec283e4064027f0155e49c3fcdf912d6 100644 (file)
@@ -30,9 +30,6 @@ enum {
 #define SEL_DATA32          0x0020
 #define SEL_CODE64          0x0028
 
-#undef NULL
-#define NULL ((void*)0)
-
 void __assert_failed(const char *assertion, const char *file, int line)
     __attribute__((noreturn));
 #define ASSERT(p) \