These functions are not extern. Drop the keyword. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list