summaryrefslogtreecommitdiff
path: root/include/system/efistdarg.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-11 16:48:44 -0500
committerJavier Martinez Canillas <javier@dowhile0.org>2021-03-12 10:15:01 +0100
commit4457d79ce0ea638e7732f5529bf13849e290940d (patch)
tree5b931ef8fb3f2a641bc2732eb7821022cc897386 /include/system/efistdarg.h
parent3c00db33e53d0cab3b701c1569a79c64878f202d (diff)
downloadefi-boot-shim-4457d79ce0ea638e7732f5529bf13849e290940d.tar.gz
efi-boot-shim-4457d79ce0ea638e7732f5529bf13849e290940d.zip
More va_* work
Be much more explicit about exactly which va_* stuff comes from which ABI in both shim and gnu-efi. This fixes the problem where we see: | (null):0:(null)() v->name:"(null)" v->rtname:"(null)" | (null):0:(null)() v->data_size:0 v->data:0x0 and similar messages where everything is NULL. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include/system/efistdarg.h')
-rw-r--r--include/system/efistdarg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/system/efistdarg.h b/include/system/efistdarg.h
index 837c4f23..034977cc 100644
--- a/include/system/efistdarg.h
+++ b/include/system/efistdarg.h
@@ -8,6 +8,10 @@
#ifndef _EFISTDARG_H_
#define _EFISTDARG_H_
+#ifndef GNU_EFI_USE_EXTERNAL_STDARG
+#define GNU_EFI_USE_EXTERNAL_STDARG
+#endif
+
#include <stdarg.h>
#endif /* !_EFISTDARG_H_ */