summaryrefslogtreecommitdiff
path: root/include/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/md5.h')
-rw-r--r--include/md5.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/md5.h b/include/md5.h
index 8190b176186..958340196eb 100644
--- a/include/md5.h
+++ b/include/md5.h
@@ -1,5 +1,5 @@
/* MD5.H - header file for MD5C.C
- * $OpenBSD: md5.h,v 1.6 2002/02/16 21:27:17 millert Exp $
+ * $OpenBSD: md5.h,v 1.7 2002/12/23 04:33:31 millert Exp $
*/
/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
@@ -34,6 +34,9 @@ typedef struct MD5Context {
unsigned char buffer[64]; /* input buffer */
} MD5_CTX;
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
void MD5Init(MD5_CTX *);
void MD5Update(MD5_CTX *, const unsigned char *, size_t);
void MD5Final(unsigned char [16], MD5_CTX *);
@@ -41,5 +44,6 @@ void MD5Transform(u_int32_t [4], const unsigned char [64]);
char * MD5End(MD5_CTX *, char *);
char * MD5File(char *, char *);
char * MD5Data(const unsigned char *, size_t, char *);
+__END_DECLS
#endif /* _MD5_H_ */