From f4d64656f80a390f0e290b193fce22ce2d0db730 Mon Sep 17 00:00:00 2001 From: millert <> Date: Fri, 9 May 2003 16:46:31 +0000 Subject: [PATCH] Include string.h for memset() proto; noticed by lebel@ --- src/lib/libc/hash/rmd160hl.c | 3 ++- src/lib/libc/hash/sha1hl.c | 3 ++- src/lib/libc/hash/sha2hl.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/libc/hash/rmd160hl.c b/src/lib/libc/hash/rmd160hl.c index 9d61fc6f..043eff87 100644 --- a/src/lib/libc/hash/rmd160hl.c +++ b/src/lib/libc/hash/rmd160hl.c @@ -8,7 +8,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: rmd160hl.c,v 1.4 2003/05/08 23:32:21 millert Exp $"; +static char rcsid[] = "$OpenBSD: rmd160hl.c,v 1.5 2003/05/09 16:46:31 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -18,6 +18,7 @@ static char rcsid[] = "$OpenBSD: rmd160hl.c,v 1.4 2003/05/08 23:32:21 millert Ex #include #include #include +#include #include /* ARGSUSED */ diff --git a/src/lib/libc/hash/sha1hl.c b/src/lib/libc/hash/sha1hl.c index 5ffaf973..a30273ae 100644 --- a/src/lib/libc/hash/sha1hl.c +++ b/src/lib/libc/hash/sha1hl.c @@ -8,7 +8,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = "$OpenBSD: sha1hl.c,v 1.4 2003/05/08 23:32:21 millert Exp $"; +static const char rcsid[] = "$OpenBSD: sha1hl.c,v 1.5 2003/05/09 16:46:31 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -18,6 +18,7 @@ static const char rcsid[] = "$OpenBSD: sha1hl.c,v 1.4 2003/05/08 23:32:21 miller #include #include #include +#include #include /* ARGSUSED */ diff --git a/src/lib/libc/hash/sha2hl.c b/src/lib/libc/hash/sha2hl.c index 2265ca38..dee7f3cf 100644 --- a/src/lib/libc/hash/sha2hl.c +++ b/src/lib/libc/hash/sha2hl.c @@ -8,7 +8,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = "$OpenBSD: sha2hl.c,v 1.1 2003/05/08 23:34:55 millert Exp $"; +static const char rcsid[] = "$OpenBSD: sha2hl.c,v 1.2 2003/05/09 16:46:31 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -18,6 +18,7 @@ static const char rcsid[] = "$OpenBSD: sha2hl.c,v 1.1 2003/05/08 23:34:55 miller #include #include #include +#include #include static const char hex[]="0123456789abcdef";