summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-07-21 20:37:08 +0000
committermillert <millert@openbsd.org>2003-07-21 20:37:08 +0000
commit778c5099cf3cd32612ca15f8f868c8cca9ae33d9 (patch)
treec8f83a5ba92235cee956e3d8092280e086382c27 /lib/libc
parentminor number bump due to added functions (diff)
downloadwireguard-openbsd-778c5099cf3cd32612ca15f8f868c8cca9ae33d9.tar.xz
wireguard-openbsd-778c5099cf3cd32612ca15f8f868c8cca9ae33d9.zip
Remove bogus static; from Hiroki Sato
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/hash/sha1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/hash/sha1.c b/lib/libc/hash/sha1.c
index daf832ffd7b..d24d3751ac9 100644
--- a/lib/libc/hash/sha1.c
+++ b/lib/libc/hash/sha1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sha1.c,v 1.11 2003/01/08 19:53:59 millert Exp $ */
+/* $OpenBSD: sha1.c,v 1.12 2003/07/21 20:37:08 millert Exp $ */
/*
* SHA-1 in C
@@ -15,7 +15,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: sha1.c,v 1.11 2003/01/08 19:53:59 millert Exp $";
+static char rcsid[] = "$OpenBSD: sha1.c,v 1.12 2003/07/21 20:37:08 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#define SHA1HANDSOFF /* Copies data before messing with it. */
@@ -116,7 +116,7 @@ SHA1Transform(u_int32_t state[5], const u_char buffer[64])
CHAR64LONG16 *block;
#ifdef SHA1HANDSOFF
- static CHAR64LONG16 workspace;
+ CHAR64LONG16 workspace;
block = &workspace;
(void)memcpy(block, buffer, 64);
#else