summaryrefslogtreecommitdiff
path: root/pkgtools/digest/files/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/digest/files/md5.h')
-rw-r--r--pkgtools/digest/files/md5.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgtools/digest/files/md5.h b/pkgtools/digest/files/md5.h
index 96bdab52080..08892162ca9 100644
--- a/pkgtools/digest/files/md5.h
+++ b/pkgtools/digest/files/md5.h
@@ -1,4 +1,4 @@
-/* $NetBSD: md5.h,v 1.5 2007/08/02 13:54:34 joerg Exp $ */
+/* $NetBSD: md5.h,v 1.6 2007/09/21 18:44:36 joerg Exp $ */
/*
* This file is derived from the RSA Data Security, Inc. MD5 Message-Digest
@@ -48,13 +48,13 @@ typedef struct MD5Context {
} MD5_CTX;
__BEGIN_DECLS
-void MD5Init __P((MD5_CTX *));
-void MD5Update __P((MD5_CTX *, const unsigned char *, unsigned int));
-void MD5Final __P((unsigned char[16], MD5_CTX *));
+void MD5Init(MD5_CTX *);
+void MD5Update(MD5_CTX *, const uint8_t *, size_t);
+void MD5Final(unsigned char[16], MD5_CTX *);
#ifndef _KERNEL
-char *MD5End __P((MD5_CTX *, char *));
-char *MD5File __P((const char *, char *));
-char *MD5Data __P((const unsigned char *, unsigned int, char *));
+char *MD5End(MD5_CTX *, char *);
+char *MD5File(const char *, char *);
+char *MD5Data(const uint8_t *, size_t, char *);
#endif /* _KERNEL */
__END_DECLS