This function is not extern. Drop the keyword. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- src/libvirtSnmpError.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libvirtSnmpError.h b/src/libvirtSnmpError.h index e28ad7c..8dae0cb 100644 --- a/src/libvirtSnmpError.h +++ b/src/libvirtSnmpError.h @@ -23,6 +23,6 @@ #ifndef __LIBVIRT_SNMP_ERROR_H__ # define __LIBVIRT_SNMP_ERROR_H__ -extern void printLibvirtError(const char *msg); +void printLibvirtError(const char *msg); #endif /* __LIBVIRT_SNMP_ERROR_H__ */ -- 2.18.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list