diff --git a/libsemanage/src/modules.c b/libsemanage/src/modules.c index b6dd456c..c98df4dd 100644 --- a/libsemanage/src/modules.c +++ b/libsemanage/src/modules.c @@ -168,6 +168,7 @@ const char *semanage_module_get_name(semanage_module_info_t * modinfo) /* Legacy function that remains to preserve ABI * compatibility. */ +extern const char *semanage_module_get_version(semanage_module_info_t *); const char *semanage_module_get_version(semanage_module_info_t * modinfo __attribute__ ((unused))) {