diff options
author | 1996-09-30 04:01:30 +0000 | |
---|---|---|
committer | 1996-09-30 04:01:30 +0000 | |
commit | c211707e598710269c6aefd0d714bb1194e3a669 (patch) | |
tree | 9e0d190e3e928c4fd8403a17e300d512930dd184 /lib | |
parent | Protect prototypes with __P. (diff) | |
download | wireguard-openbsd-c211707e598710269c6aefd0d714bb1194e3a669.tar.xz wireguard-openbsd-c211707e598710269c6aefd0d714bb1194e3a669.zip |
Moved definitions of BYTE and LONG in from header file.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/hash/sha1.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/hash/sha1.c b/lib/libc/hash/sha1.c index 706fdbd5a2d..5c90785a368 100644 --- a/lib/libc/hash/sha1.c +++ b/lib/libc/hash/sha1.c @@ -1,5 +1,5 @@ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: sha1.c,v 1.2 1996/09/29 17:18:17 millert Exp $"; +static char rcsid[] = "$OpenBSD: sha1.c,v 1.3 1996/09/30 04:01:30 millert Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -30,6 +30,10 @@ static char rcsid[] = "$OpenBSD: sha1.c,v 1.2 1996/09/29 17:18:17 millert Exp $" #include <time.h> #endif +/* Useful defines/typedefs */ + +typedef unsigned char BYTE; +typedef u_int32_t LONG; /* The SHA1 f()-functions */ |