[SSSD] [PATCH] Removing unused declaration of functions and variable.

Jakub Hrozek jhrozek at redhat.com
Tue Mar 19 11:47:24 UTC 2013


On Tue, Mar 19, 2013 at 10:47:46AM +0100, Lukas Slebodnik wrote:
> On (18/03/13 10:38), Jakub Hrozek wrote:
> >On Wed, Mar 13, 2013 at 01:59:05PM +0100, Lukas Slebodnik wrote:
> >> Hello,
> >>
> >> everything important is in subject.
> >>
> >> LS
> >
> >>  extern struct dp_option default_krb5_opts[];
> >>  extern struct sss_krb5_cc_be file_cc;
> >> -extern struct sss_krb5_cc_be dir_cc;
> >
> >You can also remove file_cc here.
> Declaration of file_cc removed from krb5_child-test.c.
> 
> 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.
> 
> Patch attached.
> 
> LS

Ack



More information about the sssd-devel mailing list