diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-03-13 13:34:40 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-03-19 14:13:50 +0100 |
commit | 1f469537545a20b62cb35966033be24e1c0cae39 (patch) | |
tree | 5d4765ea2f49870075def85d7c331b1c0a782222 /src/providers/krb5 | |
parent | 233a3c6c48972b177e60d6ef4cecfacd3cf31659 (diff) | |
download | sssd-1f469537545a20b62cb35966033be24e1c0cae39.tar.gz sssd-1f469537545a20b62cb35966033be24e1c0cae39.tar.bz2 sssd-1f469537545a20b62cb35966033be24e1c0cae39.zip |
Removing unused declaration of functions and variable.
Variables dir_cc and file_cc are used in three
modules: krb5_common.c, krb5_utils.c, krb5_child-test.c, therefore should be
declared with extern in krb5_utils.h.
Diffstat (limited to 'src/providers/krb5')
-rw-r--r-- | src/providers/krb5/krb5_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_utils.h b/src/providers/krb5/krb5_utils.h index a123a795..aad2770d 100644 --- a/src/providers/krb5/krb5_utils.h +++ b/src/providers/krb5/krb5_utils.h @@ -64,7 +64,7 @@ struct sss_krb5_cc_be { cc_be_remove remove; }; -struct sss_krb5_cc_be file_cc; +extern struct sss_krb5_cc_be file_cc; errno_t create_ccache_dir(const char *dirname, pcre *illegal_re, uid_t uid, gid_t gid, bool private_path); @@ -86,7 +86,7 @@ errno_t get_ccache_file_data(const char *ccache_file, const char *client_name, #ifdef HAVE_KRB5_DIRCACHE -struct sss_krb5_cc_be dir_cc; +extern struct sss_krb5_cc_be dir_cc; errno_t cc_dir_create(const char *location, pcre *illegal_re, uid_t uid, gid_t gid, bool private_path); |