summaryrefslogtreecommitdiff
path: root/include/console.h
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 /include/console.h
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 'include/console.h')
-rw-r--r--include/console.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index e9cf2858..6481a3d3 100644
--- a/include/console.h
+++ b/include/console.h
@@ -93,4 +93,8 @@ extern EFI_STATUS print_crypto_errors(EFI_STATUS rc, char *file, const char *fun
extern VOID msleep(unsigned long msecs);
+/* This is used in various things to determine if we should print to the
+ * console */
+extern UINT8 in_protocol;
+
#endif /* _SHIM_LIB_CONSOLE_H */