Skip to content

Commit 856ade4

Browse files
KRB5: cosmetics
Remove non existent / private functions from a header.
1 parent 771ecee commit 856ade4

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/providers/krb5/krb5_ccache.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ static errno_t sss_destroy_ccache(struct sss_krb5_ccache *cc)
276276
return ret;
277277
}
278278

279-
errno_t sss_krb5_cc_destroy(const char *ccname)
279+
static errno_t sss_krb5_cc_destroy(const char *ccname)
280280
{
281281
struct sss_krb5_ccache *cc = NULL;
282282
TALLOC_CTX *tmp_ctx;

src/providers/krb5/krb5_ccache.h

-5
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,13 @@ struct tgt_times {
3737

3838
errno_t sss_krb5_precheck_ccache(const char *ccname, uid_t uid, gid_t gid);
3939

40-
errno_t sss_krb5_cc_destroy(const char *ccname);
41-
4240
errno_t sss_krb5_check_ccache_princ(krb5_context kctx,
4341
const char *ccname,
4442
krb5_principal user_princ);
4543

4644
errno_t sss_krb5_cc_verify_ccache(const char *ccname, const char *realm,
4745
const char *principal);
4846

49-
errno_t get_ccache_file_data(const char *ccache_file, const char *client_name,
50-
struct tgt_times *tgtt);
51-
5247
errno_t safe_remove_old_ccache_file(const char *old_ccache,
5348
const char *new_ccache);
5449

0 commit comments

Comments
 (0)