[libvirt] [snmp PATCH 14/20] libvirtSnmp: Drop 'extern' from function headers

Michal Privoznik mprivozn at redhat.com
Thu Oct 18 12:26:52 UTC 2018


These functions are not extern. Drop the keyword.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/libvirtSnmp.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/libvirtSnmp.h b/src/libvirtSnmp.h
index 24707bd..f109bb4 100644
--- a/src/libvirtSnmp.h
+++ b/src/libvirtSnmp.h
@@ -31,29 +31,29 @@
 /*
  * Populate libvirtGuestTable into given container.
  */
-extern int
+int
 libvirtSnmpLoadGuests(netsnmp_container *container);
 
-extern int
+int
 libvirtSnmpInit(void);
 
-extern void
+void
 libvirtSnmpShutdown(void);
 
 /**
  * Check that domain with given UUID exists.
  * Return 0 if so, -1 if not.
  */
-extern int
+int
 libvirtSnmpCheckDomainExists(unsigned char *uuid);
 
-extern int
+int
 libvirtSnmpCreate(unsigned char *uuid, int state);
 
-extern int
+int
 libvirtSnmpDestroy(unsigned char *uuid);
 
-extern int
+int
 libvirtSnmpChangeState(unsigned char *uuid, int newstate, int oldstate);
 
 #endif /* __LIBVIRT_SNMP_H__ */
-- 
2.18.1




More information about the libvir-list mailing list