From 240d00ccd27633050d6be0531a777f845b5b5440 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 23 Dec 2002 04:33:32 +0000 Subject: o Ansi function headers o Add __BEGIN_DECLS/__END_DECLS to include files o Safe macros o Remove useless variable assignment in the End function of *hl.c o Some minor KNF, needs more From Dan Weeks --- include/md4.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/md4.h') diff --git a/include/md4.h b/include/md4.h index 89cabf7436d..0bd4e4a5a08 100644 --- a/include/md4.h +++ b/include/md4.h @@ -1,5 +1,5 @@ /* MD4.H - header file for MD4C.C - * $OpenBSD: md4.h,v 1.6 2002/02/16 21:27:17 millert Exp $ + * $OpenBSD: md4.h,v 1.7 2002/12/23 04:33:31 millert Exp $ */ /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All @@ -33,6 +33,9 @@ typedef struct MD4Context { unsigned char buffer[64]; /* input buffer */ } MD4_CTX; +#include + +__BEGIN_DECLS void MD4Init(MD4_CTX *); void MD4Update(MD4_CTX *, const unsigned char *, size_t); void MD4Final(unsigned char [16], MD4_CTX *); @@ -40,5 +43,6 @@ void MD4Transform(u_int32_t [4], const unsigned char [64]); char * MD4End(MD4_CTX *, char *); char * MD4File(char *, char *); char * MD4Data(const unsigned char *, size_t, char *); +__END_DECLS #endif /* _MD4_H_ */ -- cgit v1.2.3