diff options
| author | Peter Jones <pjones@redhat.com> | 2021-02-22 12:03:53 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-02-25 10:15:14 -0500 |
| commit | c1722924cee57e1eb27cad656baf079bf809b8f6 (patch) | |
| tree | 2a198b1a1a4ae7355dc267d62beb601ed339d01d /shim.h | |
| parent | d27c33b2fa544f89433e99f92122d21eaa06861d (diff) | |
| download | efi-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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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" |
