summaryrefslogtreecommitdiff
path: root/shim.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-02-22 12:03:53 -0500
committerPeter Jones <pjones@redhat.com>2021-02-25 10:15:14 -0500
commitc1722924cee57e1eb27cad656baf079bf809b8f6 (patch)
tree2a198b1a1a4ae7355dc267d62beb601ed339d01d /shim.h
parentd27c33b2fa544f89433e99f92122d21eaa06861d (diff)
downloadefi-boot-shim-c1722924cee57e1eb27cad656baf079bf809b8f6.tar.gz
efi-boot-shim-c1722924cee57e1eb27cad656baf079bf809b8f6.zip
compiler.h: fix a typo and add some more function attribute macros
This fixes the ifndef guard on NONNULL and __CONCAT3 and adds definitions for: - __CONCAT() for a##b with the intermediate tokenization step - ALLOCFUNC for __malloc__ - DEPRECATED for __deprecated__ - PURE for __pure__ - RETURNS_NONNULL for __nonnull__ Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'shim.h')
-rw-r--r--shim.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/shim.h b/shim.h
index 44c01555..90d9e89c 100644
--- a/shim.h
+++ b/shim.h
@@ -33,8 +33,6 @@
#include <stddef.h>
#include <stdint.h>
-#define nonnull(...) __attribute__((__nonnull__(__VA_ARGS__)))
-
#ifdef __x86_64__
#ifndef DEFAULT_LOADER
#define DEFAULT_LOADER L"\\grubx64.efi"