From 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 16 Mar 2020 23:33:42 +0100 Subject: Well I'm using Arch again --- slock/explicit_bzero.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 slock/explicit_bzero.c (limited to 'slock/explicit_bzero.c') diff --git a/slock/explicit_bzero.c b/slock/explicit_bzero.c deleted file mode 100644 index 3e33ca8..0000000 --- a/slock/explicit_bzero.c +++ /dev/null @@ -1,19 +0,0 @@ -/* $OpenBSD: explicit_bzero.c,v 1.3 2014/06/21 02:34:26 matthew 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); -} -- cgit v1.2.3