From 6d57a1a176004a7d8fc009cdcf760098f86e3263 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 16 Feb 2002 21:28:12 +0000 Subject: 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. --- include/sha1.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/sha1.h') 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 -- cgit v1.2.3