summaryrefslogtreecommitdiff
path: root/include/variables.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2017-10-23 14:26:28 -0400
committerPeter Jones <pmjones@gmail.com>2018-03-12 16:21:43 -0400
commit1f1ec4cea8561d72734a56a76dc63a5c879bc994 (patch)
tree30c4578711efd8eff5728d5e493f0d0ccc1055ce /include/variables.h
parentdc62a3c4dc3dd590fbba32c46b717088a132eb5e (diff)
downloadefi-boot-shim-1f1ec4cea8561d72734a56a76dc63a5c879bc994.tar.gz
efi-boot-shim-1f1ec4cea8561d72734a56a76dc63a5c879bc994.zip
Make sure all of our include files have proper guards.
... and make them all the same formatting too. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include/variables.h')
-rw-r--r--include/variables.h6
1 files changed, 5 insertions, 1 deletions
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 <efiauthenticated.h>
+#ifndef SHIM_VARIABLES_H
+#define SHIM_VARIABLES_H
+#include <efiauthenticated.h>
#include <PeImage.h> /* 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 */