Blame SOURCES/0007-vddk-Two-more-static-dlsym-variables.patch

52155f
From 033ab68ec56dbdac091b084dee7b7f333290768a Mon Sep 17 00:00:00 2001
52155f
From: "Richard W.M. Jones" <rjones@redhat.com>
52155f
Date: Wed, 25 Jul 2018 14:02:32 +0100
52155f
Subject: [PATCH 7/8] vddk: Two more static dlsym variables.
52155f
52155f
Fixes commit 168364eff47004e64d0880516de5744fecaa8047
52155f
and commit 8d7f7c26eb435334d7fa35e84ceee7d266dfae4c.
52155f
52155f
(cherry picked from commit b776d1f5e59faef659f0d6e7fbffec614d58a368)
52155f
---
52155f
 plugins/vddk/vddk.c | 4 ++--
52155f
 1 file changed, 2 insertions(+), 2 deletions(-)
52155f
52155f
diff --git a/plugins/vddk/vddk.c b/plugins/vddk/vddk.c
52155f
index 5d7bf6d..29b48dd 100644
52155f
--- a/plugins/vddk/vddk.c
52155f
+++ b/plugins/vddk/vddk.c
52155f
@@ -51,10 +51,10 @@
52155f
 static char *(*VixDiskLib_GetErrorText) (VixError err, const char *unused);
52155f
 static void (*VixDiskLib_FreeErrorText) (char *text);
52155f
 static VixError (*VixDiskLib_InitEx) (uint32_t major, uint32_t minor, VixDiskLibGenericLogFunc *log_function, VixDiskLibGenericLogFunc *warn_function, VixDiskLibGenericLogFunc *panic_function, const char *lib_dir, const char *config_file);
52155f
-void (*VixDiskLib_Exit) (void);
52155f
+static void (*VixDiskLib_Exit) (void);
52155f
 static VixError (*VixDiskLib_ConnectEx) (const VixDiskLibConnectParams *params, char read_only, const char *snapshot_ref, const char *transport_modes, VixDiskLibConnection *connection);
52155f
 static VixError (*VixDiskLib_Open) (const VixDiskLibConnection connection, const char *path, uint32_t flags, VixDiskLibHandle *handle);
52155f
-const char *(*VixDiskLib_GetTransportMode) (VixDiskLibHandle handle);
52155f
+static const char *(*VixDiskLib_GetTransportMode) (VixDiskLibHandle handle);
52155f
 static VixError (*VixDiskLib_Close) (VixDiskLibHandle handle);
52155f
 static VixError (*VixDiskLib_Disconnect) (VixDiskLibConnection connection);
52155f
 static VixError (*VixDiskLib_GetInfo) (VixDiskLibHandle handle, VixDiskLibInfo **info);
52155f
-- 
52155f
2.18.0
52155f