diff options
| author | Steve McIntyre <steve@einval.com> | 2022-06-23 00:16:56 +0100 |
|---|---|---|
| committer | Steve McIntyre <steve@einval.com> | 2022-06-23 00:16:56 +0100 |
| commit | e6ace38abd705fbe24349152b7c90d473404e86e (patch) | |
| tree | 50e7a2d6b00d650fcbee8b0c54f0a0eacefc6929 /include/compiler.h | |
| parent | 8529e0f7f70f427a7202815061362eceba6bfc50 (diff) | |
| download | efi-boot-shim-e6ace38abd705fbe24349152b7c90d473404e86e.tar.gz efi-boot-shim-e6ace38abd705fbe24349152b7c90d473404e86e.zip | |
New upstream version 15.6upstream/15.6
Diffstat (limited to 'include/compiler.h')
| -rw-r--r-- | include/compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h index 18576724..b4bf1031 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -47,8 +47,12 @@ #define ALIAS(x) __attribute__((weak, alias (#x))) #endif #ifndef ALLOCFUNC +#if defined(__COVERITY__) +#define ALLOCFUNC(a, b) +#else #define ALLOCFUNC(dealloc, dealloc_arg) __attribute__((__malloc__(dealloc, dealloc_arg))) #endif +#endif #ifndef PRINTF #define PRINTF(first, args...) __attribute__((__format__(printf, first, ## args))) #endif |
