diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-20 18:59:51 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-20 18:59:51 +0200 |
commit | 87ec1d2532eb17dfd7f98431bdfa4071be57f683 (patch) | |
tree | 7543ac112a660083d05c1b4734ffb7fdc169d656 /source4/auth/kerberos | |
parent | 01a902f59978cebdab22aaee7d9e0c9bb78bc649 (diff) | |
download | samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.gz samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.tar.bz2 samba-87ec1d2532eb17dfd7f98431bdfa4071be57f683.zip |
Make sure prototypes are always included, make some functions static and
remove some unused functions.
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r-- | source4/auth/kerberos/gssapi_parse.c | 2 | ||||
-rw-r--r-- | source4/auth/kerberos/kerberos.c | 1 | ||||
-rw-r--r-- | source4/auth/kerberos/kerberos_heimdal.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/source4/auth/kerberos/gssapi_parse.c b/source4/auth/kerberos/gssapi_parse.c index e5b13fc70d..489ebcaa83 100644 --- a/source4/auth/kerberos/gssapi_parse.c +++ b/source4/auth/kerberos/gssapi_parse.c @@ -24,6 +24,8 @@ #include "includes.h" #include "../lib/util/asn1.h" #include "auth/gensec/gensec.h" +#include "system/kerberos.h" +#include "auth/kerberos/kerberos.h" /* generate a krb5 GSS-API wrapper packet given a ticket diff --git a/source4/auth/kerberos/kerberos.c b/source4/auth/kerberos/kerberos.c index d54664fe66..1889dcab4d 100644 --- a/source4/auth/kerberos/kerberos.c +++ b/source4/auth/kerberos/kerberos.c @@ -23,6 +23,7 @@ #include "includes.h" #include "system/kerberos.h" +#include "auth/kerberos/kerberos.h" #ifdef HAVE_KRB5 diff --git a/source4/auth/kerberos/kerberos_heimdal.c b/source4/auth/kerberos/kerberos_heimdal.c index f669d0f2f4..44cb39c518 100644 --- a/source4/auth/kerberos/kerberos_heimdal.c +++ b/source4/auth/kerberos/kerberos_heimdal.c @@ -36,6 +36,7 @@ #include "includes.h" #include "system/kerberos.h" +#include "auth/kerberos/kerberos.h" /* Taken from accept_sec_context.c,v 1.65 */ krb5_error_code smb_rd_req_return_stuff(krb5_context context, |