diff mbox series

[06/47] libsemanage: drop unnecessary declarations

Message ID 20241111141706.38039-6-cgoettsche@seltendoof.de (mailing list archive)
State New
Delegated to: Petr Lautrbach
Headers show
Series [01/47] libsemanage: white space cleanup | expand

Commit Message

Christian Göttsche Nov. 11, 2024, 2:16 p.m. UTC
From: Christian Göttsche <cgzones@googlemail.com>

semanage_remove_directory() is declared in "semanage_store.h" and
semanage_rename() is defined before usage.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 libsemanage/src/semanage_store.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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. */