Blame SOURCES/0003-Move-verbosity-headers-to-be-public.patch

80b73c
From daf3b6c6ae8a766f362c87dc80e40005428a1b2a Mon Sep 17 00:00:00 2001
80b73c
From: Peter Jones <pjones@redhat.com>
80b73c
Date: Tue, 12 Jun 2018 14:36:20 -0400
80b73c
Subject: [PATCH 03/17] Move verbosity headers to be public
80b73c
80b73c
Signed-off-by: Peter Jones <pjones@redhat.com>
80b73c
---
80b73c
 src/include/efivar/efivar.h | 8 ++++++++
80b73c
 src/util.h                  | 4 ----
80b73c
 2 files changed, 8 insertions(+), 4 deletions(-)
80b73c
80b73c
diff --git a/src/include/efivar/efivar.h b/src/include/efivar/efivar.h
80b73c
index ddcc6771bdb..316891ccae9 100644
80b73c
--- a/src/include/efivar/efivar.h
80b73c
+++ b/src/include/efivar/efivar.h
80b73c
@@ -25,6 +25,7 @@
80b73c
 #include <stdarg.h>
80b73c
 #include <stdint.h>
80b73c
 #include <string.h>
80b73c
+#include <stdio.h>
80b73c
 #include <sys/stat.h>
80b73c
 #include <sys/types.h>
80b73c
 #include <unistd.h>
80b73c
@@ -227,6 +228,13 @@ efi_error_clear(void)
80b73c
 #define efi_error_val(errval, msg, args...) \
80b73c
 	efi_error_real__(errval, __FILE__, __func__, __LINE__, (fmt), ## args)
80b73c
 
80b73c
+extern void efi_set_verbose(int verbosity, FILE *errlog)
80b73c
+        __attribute__((__visibility__("default")));
80b73c
+extern int efi_get_verbose(void)
80b73c
+        __attribute__((__visibility__("default")));
80b73c
+extern FILE * efi_get_logfile(void)
80b73c
+        __attribute__((__visibility__("default")));
80b73c
+
80b73c
 #include <efivar/efivar-dp.h>
80b73c
 
80b73c
 #endif /* EFIVAR_H */
80b73c
diff --git a/src/util.h b/src/util.h
80b73c
index 96ca66bd54d..cc5f669e6ec 100644
80b73c
--- a/src/util.h
80b73c
+++ b/src/util.h
80b73c
@@ -369,8 +369,4 @@ swizzle_guid_to_uuid(efi_guid_t *guid)
80b73c
 
80b73c
 #define DEBUG 1
80b73c
 
80b73c
-extern void PUBLIC efi_set_verbose(int verbosity, FILE *errlog);
80b73c
-extern int PUBLIC efi_get_verbose(void);
80b73c
-extern FILE PUBLIC *efi_get_logfile(void);
80b73c
-
80b73c
 #endif /* EFIVAR_UTIL_H */
80b73c
-- 
80b73c
2.17.1
80b73c