Changeset
src/vbox/vbox_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Git apply log
Switched to a new branch '0d7c9fa6794ace47addd80b6a4de17d41247e254.1523514519.git.mprivozn@redhat.com'
Applying: vbox: Make vboxCommonDriver static
Using index info to reconstruct a base tree...
M	src/vbox/vbox_common.c
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
To https://github.com/patchew-project/libvirt
 * [new tag]         patchew/0d7c9fa6794ace47addd80b6a4de17d41247e254.1523514519.git.mprivozn@redhat.com -> patchew/0d7c9fa6794ace47addd80b6a4de17d41247e254.1523514519.git.mprivozn@redhat.com
Test passed: syntax-check

loading

[libvirt] [PATCH] vbox: Make vboxCommonDriver static
Posted by Michal Privoznik, 1 week ago
This is a global variable, but it isn't accessible from outside
of the file its declared in.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---

Pushed as trivial.

 src/vbox/vbox_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 3bcca43d32..b5f8456f8d 100644
--- a/src/vbox/vbox_common.c
+++ b/src/vbox/vbox_common.c
@@ -7978,7 +7978,7 @@ vboxDomainSendKey(virDomainPtr dom,
  * Function Tables
  */
 
-virHypervisorDriver vboxCommonDriver = {
+static virHypervisorDriver vboxCommonDriver = {
     .name = "VBOX",
     .connectOpen = vboxConnectOpen, /* 0.6.3 */
     .connectClose = vboxConnectClose, /* 0.6.3 */
-- 
2.16.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list