diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-14 01:29:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:14 -0500 |
commit | 3f16241a1d3243447d0244ebac05b447aec94df8 (patch) | |
tree | 0ee81590af3e31ad9690fa1e994482b29466e0a6 /source4/auth/credentials | |
parent | 227a789351acd600d4cde15df9e6b3d106e862c1 (diff) | |
download | samba-3f16241a1d3243447d0244ebac05b447aec94df8.tar.gz samba-3f16241a1d3243447d0244ebac05b447aec94df8.tar.bz2 samba-3f16241a1d3243447d0244ebac05b447aec94df8.zip |
r14363: Remove credentials.h from the global includes.
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
Diffstat (limited to 'source4/auth/credentials')
-rw-r--r-- | source4/auth/credentials/credentials.h | 4 | ||||
-rw-r--r-- | source4/auth/credentials/credentials_files.c | 1 | ||||
-rw-r--r-- | source4/auth/credentials/credentials_ntlm.c | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h index eb4e5c96d0..58d393f762 100644 --- a/source4/auth/credentials/credentials.h +++ b/source4/auth/credentials/credentials.h @@ -20,6 +20,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __CREDENTIALS_H__ +#define __CREDENTIALS_H__ struct ccache_container; @@ -103,3 +105,5 @@ struct cli_credentials { }; #include "auth/credentials/credentials_proto.h" + +#endif /* __CREDENTIALS_H__ */ diff --git a/source4/auth/credentials/credentials_files.c b/source4/auth/credentials/credentials_files.c index c4e384c2cd..dd510f97f1 100644 --- a/source4/auth/credentials/credentials_files.c +++ b/source4/auth/credentials/credentials_files.c @@ -28,6 +28,7 @@ #include "passdb/secrets.h" #include "system/filesys.h" #include "db_wrap.h" +#include "auth/credentials/credentials.h" /** * Read a file descriptor, and parse it for a password (eg from a file or stdin) diff --git a/source4/auth/credentials/credentials_ntlm.c b/source4/auth/credentials/credentials_ntlm.c index eafd5e00a2..768ed9bb3f 100644 --- a/source4/auth/credentials/credentials_ntlm.c +++ b/source4/auth/credentials/credentials_ntlm.c @@ -25,6 +25,7 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */ #include "lib/crypto/crypto.h" +#include "auth/credentials/credentials.h" #include "libcli/auth/proto.h" void cli_credentials_get_ntlm_username_domain(struct cli_credentials *cred, TALLOC_CTX *mem_ctx, |