From 1f1ec4cea8561d72734a56a76dc63a5c879bc994 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 23 Oct 2017 14:26:28 -0400 Subject: Make sure all of our include files have proper guards. ... and make them all the same formatting too. Signed-off-by: Peter Jones --- include/variables.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/variables.h') diff --git a/include/variables.h b/include/variables.h index deed269c..8566a1a4 100644 --- a/include/variables.h +++ b/include/variables.h @@ -1,5 +1,7 @@ -#include +#ifndef SHIM_VARIABLES_H +#define SHIM_VARIABLES_H +#include #include /* for SHA256_DIGEST_SIZE */ #define certlist_for_each_certentry(cl, cl_init, s, s_init) \ @@ -57,3 +59,5 @@ variable_enroll_hash(CHAR16 *var, EFI_GUID owner, EFI_STATUS variable_create_esl(void *cert, int cert_len, EFI_GUID *type, EFI_GUID *owner, void **out, int *outlen); + +#endif /* SHIM_VARIABLES_H */ -- cgit v1.2.3