diff options
author | cvs2svn <admin@example.com> | 2025-04-14 17:32:06 +0000 |
---|---|---|
committer | cvs2svn <admin@example.com> | 2025-04-14 17:32:06 +0000 |
commit | eb8dd9dca1228af0cd132f515509051ecfabf6f6 (patch) | |
tree | edb6da6af7e865d488dc1a29309f1e1ec226e603 /src/lib/libc/string/explicit_bzero.c | |
parent | 247f0352e0ed72a4f476db9dc91f4d982bc83eb2 (diff) | |
download | openbsd-tb_20250414.tar.gz openbsd-tb_20250414.tar.bz2 openbsd-tb_20250414.zip |
This commit was manufactured by cvs2git to create tag 'tb_20250414'.tb_20250414
Diffstat (limited to 'src/lib/libc/string/explicit_bzero.c')
-rw-r--r-- | src/lib/libc/string/explicit_bzero.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/libc/string/explicit_bzero.c b/src/lib/libc/string/explicit_bzero.c deleted file mode 100644 index 003ea7cc4c..0000000000 --- a/src/lib/libc/string/explicit_bzero.c +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | /* $OpenBSD: explicit_bzero.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */ | ||
2 | /* | ||
3 | * Public domain. | ||
4 | * Written by Matthew Dempsky. | ||
5 | */ | ||
6 | |||
7 | #include <string.h> | ||
8 | |||
9 | __attribute__((weak)) void | ||
10 | __explicit_bzero_hook(void *buf, size_t len) | ||
11 | { | ||
12 | } | ||
13 | |||
14 | void | ||
15 | explicit_bzero(void *buf, size_t len) | ||
16 | { | ||
17 | memset(buf, 0, len); | ||
18 | __explicit_bzero_hook(buf, len); | ||
19 | } | ||
20 | DEF_WEAK(explicit_bzero); | ||