From 1ca7fa435c385886e1f733b5eef42b96bab3bf54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 10 Apr 2005 19:18:13 +0000 Subject: [PATCH] don't include bit types, the user must do that #ifdef wrap git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14771 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/md4.h | 16 ++++------------ lib/des/md5.h | 16 ++++------------ lib/des/sha.h | 16 ++++------------ 3 files changed, 12 insertions(+), 36 deletions(-) diff --git a/lib/des/md4.h b/lib/des/md4.h index 3bd219990..eb3750e51 100644 --- a/lib/des/md4.h +++ b/lib/des/md4.h @@ -33,18 +33,8 @@ /* $Id$ */ -#include -#ifdef HAVE_SYS_TYPES_H -#include -#endif -#ifdef HAVE_SYS_BITYPES_H -#include -#endif -#ifdef KRB5 -#include -#elif defined(KRB4) -#include -#endif +#ifndef HEIM_MD4_H +#define HEIM_MD4_H 1 struct md4 { unsigned int sz[2]; @@ -57,3 +47,5 @@ typedef struct md4 MD4_CTX; void MD4_Init (struct md4 *m); void MD4_Update (struct md4 *m, const void *p, size_t len); void MD4_Final (void *res, struct md4 *m); + +#endif /* HEIM_MD4_H */ diff --git a/lib/des/md5.h b/lib/des/md5.h index c78839bd9..276bad0b1 100644 --- a/lib/des/md5.h +++ b/lib/des/md5.h @@ -33,18 +33,8 @@ /* $Id$ */ -#include -#ifdef HAVE_SYS_TYPES_H -#include -#endif -#ifdef HAVE_SYS_BITYPES_H -#include -#endif -#ifdef KRB5 -#include -#elif defined(KRB4) -#include -#endif +#ifndef HEIM_MD5_H +#define HEIM_MD5_H 1 struct md5 { unsigned int sz[2]; @@ -57,3 +47,5 @@ typedef struct md5 MD5_CTX; void MD5_Init (struct md5 *m); void MD5_Update (struct md5 *m, const void *p, size_t len); void MD5_Final (void *res, struct md5 *m); /* u_int32_t res[4] */ + +#endif /* HEIM_MD5_H */ diff --git a/lib/des/sha.h b/lib/des/sha.h index b5528736d..5bcff8a20 100644 --- a/lib/des/sha.h +++ b/lib/des/sha.h @@ -33,18 +33,8 @@ /* $Id$ */ -#include -#ifdef HAVE_SYS_TYPES_H -#include -#endif -#ifdef HAVE_SYS_BITYPES_H -#include -#endif -#ifdef KRB5 -#include -#elif defined(KRB4) -#include -#endif +#ifndef HEIM_SHA_H +#define HEIM_SHA_H 1 struct sha { unsigned int sz[2]; @@ -57,3 +47,5 @@ typedef struct sha SHA_CTX; void SHA1_Init (struct sha *m); void SHA1_Update (struct sha *m, const void *v, size_t len); void SHA1_Final (void *res, struct sha *m); + +#endif /* HEIM_SHA_H */