summaryrefslogtreecommitdiff
path: root/tpm.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2017-11-02 18:05:12 -0400
committerPeter Jones <pjones@redhat.com>2017-12-19 16:52:01 -0500
commit97a3f6cf94365141b98363d29a88865f6876e5a6 (patch)
tree6d1085aa05db0517ec9040ee33a40388adf348e0 /tpm.c
parentb9e81483bb96b1fb471a981dff625807eb0a58ca (diff)
downloadefi-boot-shim-97a3f6cf94365141b98363d29a88865f6876e5a6.tar.gz
efi-boot-shim-97a3f6cf94365141b98363d29a88865f6876e5a6.zip
"in_protocol" is used in more than shim.o; make it not static.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'tpm.c')
-rw-r--r--tpm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tpm.c b/tpm.c
index 05b3c6fb..dbbafbf1 100644
--- a/tpm.c
+++ b/tpm.c
@@ -4,8 +4,7 @@
#include <stdint.h>
#include "tpm.h"
-
-extern UINT8 in_protocol;
+#include "console.h"
#define perror(fmt, ...) ({ \
UINTN __perror_ret = 0; \