1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s4:kdc: make free_sdb_entry() static

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2022-02-11 20:58:03 +01:00
parent a77933f9d2
commit 9bc5aeddfd
2 changed files with 3 additions and 2 deletions

View 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;

View 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_ */