]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: make free_sdb_entry() static
authorStefan Metzmacher <metze@samba.org>
Fri, 11 Feb 2022 19:58:03 +0000 (20:58 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Mar 2022 09:19:33 +0000 (09:19 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/sdb.c
source4/kdc/sdb.h

index 77c43da0aa2c79fcf5a59f245ca0837433b31155..8221828c05b35fcbe9b7effd79ce29d6b4a54c28 100644 (file)
@@ -26,6 +26,8 @@
 #include "sdb.h"
 #include "lib/krb5_wrap/krb5_samba.h"
 
+static void free_sdb_entry(struct sdb_entry *s);
+
 void sdb_free_entry(struct sdb_entry_ex *ent)
 {
        free_sdb_entry(&ent->entry);
@@ -53,7 +55,7 @@ static void free_sdb_key(struct sdb_key *k)
        ZERO_STRUCTP(k);
 }
 
-void free_sdb_entry(struct sdb_entry *s)
+static void free_sdb_entry(struct sdb_entry *s)
 {
        unsigned int i;
 
index 004b6c77739cad1694f23f4974382e6229e6ee2f..bae8e3b3699a16bbb0c7db5f1cf2e771fd175cec 100644 (file)
@@ -129,7 +129,6 @@ struct sdb_entry_ex {
 #define SDB_F_FORCE_CANON      16384   /* force canonicalition */
 
 void sdb_free_entry(struct sdb_entry_ex *e);
-void free_sdb_entry(struct sdb_entry *s);
 struct SDBFlags int2SDBFlags(unsigned n);
 
 #endif /* _KDC_SDB_H_ */