From: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> semanage_remove_directory() is declared in "semanage_store.h" and semanage_rename() is defined before usage. Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- libsemanage/src/semanage_store.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libsemanage/src/semanage_store.c b/libsemanage/src/semanage_store.c index 57295482..08e6fc1b 100644 --- a/libsemanage/src/semanage_store.c +++ b/libsemanage/src/semanage_store.c @@ -696,8 +696,6 @@ int semanage_store_access_check(void) /********************* other I/O functions *********************/ -static int semanage_rename(semanage_handle_t * sh, const char *tmp, const char *dst); -int semanage_remove_directory(const char *path); static int semanage_copy_dir_flags(const char *src, const char *dst, int flag); /* Callback used by scandir() to select files. */ -- 2.45.2