summaryrefslogtreecommitdiff
path: root/include/sha1.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /include/sha1.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'include/sha1.h')
-rw-r--r--include/sha1.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/sha1.h b/include/sha1.h
index 6da7e22f0f1..58733f1632d 100644
--- a/include/sha1.h
+++ b/include/sha1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sha1.h,v 1.9 1999/02/03 03:13:18 angelos Exp $ */
+/* $OpenBSD: sha1.h,v 1.10 2002/02/16 21:27:17 millert Exp $ */
/*
* SHA-1 in C
@@ -15,13 +15,13 @@ typedef struct {
u_char buffer[64];
} SHA1_CTX;
-void SHA1Transform __P((u_int32_t state[5], const u_char buffer[64]));
-void SHA1Init __P((SHA1_CTX *context));
-void SHA1Update __P((SHA1_CTX *context, const u_char *data, u_int len));
-void SHA1Final __P((u_char digest[20], SHA1_CTX *context));
-char *SHA1End __P((SHA1_CTX *, char *));
-char *SHA1File __P((char *, char *));
-char *SHA1Data __P((const u_char *, size_t, char *));
+void SHA1Transform(u_int32_t state[5], const u_char buffer[64]);
+void SHA1Init(SHA1_CTX *context);
+void SHA1Update(SHA1_CTX *context, const u_char *data, u_int len);
+void SHA1Final(u_char digest[20], SHA1_CTX *context);
+char *SHA1End(SHA1_CTX *, char *);
+char *SHA1File(char *, char *);
+char *SHA1Data(const u_char *, size_t, char *);
#define SHA1_DIGESTSIZE 20
#define SHA1_BLOCKSIZE 64