diff options
author | 2003-05-09 16:46:30 +0000 | |
---|---|---|
committer | 2003-05-09 16:46:30 +0000 | |
commit | f318566321375ab1a73f97e07d338b4c1b35aa5d (patch) | |
tree | af2ac1820e6520a300fafca1e7e62d2fa3a77992 /lib/libc | |
parent | string cleaning; ok tedu (diff) | |
download | wireguard-openbsd-f318566321375ab1a73f97e07d338b4c1b35aa5d.tar.xz wireguard-openbsd-f318566321375ab1a73f97e07d338b4c1b35aa5d.zip |
Include string.h for memset() proto; noticed by lebel@
Diffstat (limited to 'lib/libc')
-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 | ||||
-rw-r--r-- | lib/libc/md/mdXhl.c | 3 |
4 files changed, 8 insertions, 4 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"; diff --git a/lib/libc/md/mdXhl.c b/lib/libc/md/mdXhl.c index 5b9dae7713e..4f1697f4ba8 100644 --- a/lib/libc/md/mdXhl.c +++ b/lib/libc/md/mdXhl.c @@ -8,7 +8,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = "$OpenBSD: mdXhl.c,v 1.11 2003/05/08 23:32:21 millert Exp $"; +static const char rcsid[] = "$OpenBSD: mdXhl.c,v 1.12 2003/05/09 16:46:30 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -18,6 +18,7 @@ static const char rcsid[] = "$OpenBSD: mdXhl.c,v 1.11 2003/05/08 23:32:21 miller #include <mdX.h> #include <stdlib.h> #include <stdio.h> +#include <string.h> #include <unistd.h> /* ARGSUSED */ |