[Pkg-libvirt-commits] [libguestfs] 06/29: appliance: Make uefi_firmware variable static.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Nov 1 17:14:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.29.48
in repository libguestfs.
commit 158204529fa26654d8ac6afa518675f97de2ba82
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Jun 22 18:08:29 2015 +0100
appliance: Make uefi_firmware variable static.
It is not used outside the compilation unit.
This fixes commit 544a7314824654d89ba3c70e3e93383a05d54218.
---
src/appliance.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/appliance.c b/src/appliance.c
index ea0e255..2167ac3 100644
--- a/src/appliance.c
+++ b/src/appliance.c
@@ -480,7 +480,7 @@ dir_contains_files (const char *dir, ...)
*/
#ifdef __aarch64__
-const char *uefi_firmware[] = {
+static const char *uefi_firmware[] = {
"/usr/share/AAVMF/AAVMF_CODE.fd",
"/usr/share/AAVMF/AAVMF_VARS.fd",
@@ -492,7 +492,7 @@ const char *uefi_firmware[] = {
#else
-const char *uefi_firmware[] = { NULL };
+static const char *uefi_firmware[] = { NULL };
#endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list