From eb8dd9dca1228af0cd132f515509051ecfabf6f6 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Mon, 14 Apr 2025 17:32:06 +0000 Subject: This commit was manufactured by cvs2git to create tag 'tb_20250414'. --- src/lib/libc/string/explicit_bzero.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/lib/libc/string/explicit_bzero.c (limited to 'src/lib/libc/string/explicit_bzero.c') 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 @@ -/* $OpenBSD: explicit_bzero.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */ -/* - * Public domain. - * Written by Matthew Dempsky. - */ - -#include - -__attribute__((weak)) void -__explicit_bzero_hook(void *buf, size_t len) -{ -} - -void -explicit_bzero(void *buf, size_t len) -{ - memset(buf, 0, len); - __explicit_bzero_hook(buf, len); -} -DEF_WEAK(explicit_bzero); -- cgit v1.2.3-55-g6feb