[PATCH 2/3] rpc: mark GSourceFuncs functions in vireventglibwatch.c as static

Denis V. Lunev posted 3 patches 2 years, 1 month ago
[PATCH 2/3] rpc: mark GSourceFuncs functions in vireventglibwatch.c as static
Posted by Denis V. Lunev 2 years, 1 month ago
They are not exported from the module and thus should be static.

Signed-off-by: Denis V. Lunev <den@openvz.org>
---
 src/util/vireventglibwatch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/vireventglibwatch.c b/src/util/vireventglibwatch.c
index b7f3a8786a..b21e505731 100644
--- a/src/util/vireventglibwatch.c
+++ b/src/util/vireventglibwatch.c
@@ -71,7 +71,7 @@ virEventGLibFDSourceFinalize(GSource *source G_GNUC_UNUSED)
 }
 
 
-GSourceFuncs virEventGLibFDSourceFuncs = {
+static GSourceFuncs virEventGLibFDSourceFuncs = {
     .prepare = virEventGLibFDSourcePrepare,
     .check = virEventGLibFDSourceCheck,
     .dispatch = virEventGLibFDSourceDispatch,
@@ -194,7 +194,7 @@ virEventGLibSocketSourceFinalize(GSource *source)
 }
 
 
-GSourceFuncs virEventGLibSocketSourceFuncs = {
+static GSourceFuncs virEventGLibSocketSourceFuncs = {
     .prepare = virEventGLibSocketSourcePrepare,
     .check = virEventGLibSocketSourceCheck,
     .dispatch = virEventGLibSocketSourceDispatch,
-- 
2.34.1
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org