diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-05-09 16:46:32 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-05-09 16:46:32 +0000 |
commit | bb7de107e4c211cdf5bb384d3de1ab92023f64ee (patch) | |
tree | ae2c72c7d1015469d627b0914e8adfa7edd7dfb6 /lib/libc/hash | |
parent | 0a349f3b24b068b230da8b3fcf21d5272835ddd4 (diff) |
Include string.h for memset() proto; noticed by lebel@
Diffstat (limited to 'lib/libc/hash')
-rw-r--r-- | lib/libc/hash/rmd160hl.c | 3 | ||||
-rw-r--r-- | lib/libc/hash/sha1hl.c | 3 | ||||
-rw-r--r-- | lib/libc/hash/sha2hl.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/hash/rmd160hl.c b/lib/libc/hash/rmd160hl.c index 9d61fc6f968..043eff87eb1 100644 --- a/lib/libc/hash/rmd160hl.c +++ b/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 <sys/types.h> @@ -18,6 +18,7 @@ static char rcsid[] = "$OpenBSD: rmd160hl.c,v 1.4 2003/05/08 23:32:21 millert Ex #include <rmd160.h> #include <stdlib.h> #include <stdio.h> +#include <string.h> #include <unistd.h> /* ARGSUSED */ diff --git a/lib/libc/hash/sha1hl.c b/lib/libc/hash/sha1hl.c index 5ffaf9735d1..a30273aec99 100644 --- a/lib/libc/hash/sha1hl.c +++ b/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 <sys/types.h> @@ -18,6 +18,7 @@ static const char rcsid[] = "$OpenBSD: sha1hl.c,v 1.4 2003/05/08 23:32:21 miller #include <sha1.h> #include <stdlib.h> #include <stdio.h> +#include <string.h> #include <unistd.h> /* ARGSUSED */ diff --git a/lib/libc/hash/sha2hl.c b/lib/libc/hash/sha2hl.c index 2265ca3833a..dee7f3cfa23 100644 --- a/lib/libc/hash/sha2hl.c +++ b/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 <sys/types.h> @@ -18,6 +18,7 @@ static const char rcsid[] = "$OpenBSD: sha2hl.c,v 1.1 2003/05/08 23:34:55 miller #include <sha2.h> #include <stdlib.h> #include <stdio.h> +#include <string.h> #include <unistd.h> static const char hex[]="0123456789abcdef"; |