diff options
| author | kj_sh604 | 2025-08-11 14:08:58 -0400 |
|---|---|---|
| committer | kj_sh604 | 2025-08-11 14:08:58 -0400 |
| commit | 85eb7221c1714c0ab4929efc6a18c35f698ded21 (patch) | |
| tree | 1f838d73f148d0322241415d2ae2a01b367ee34e /slock/explicit_bzero.c | |
| parent | e21ae35070008cbef2473c1f687ab6ded5401fa4 (diff) | |
refactor: update `slock`
Diffstat (limited to 'slock/explicit_bzero.c')
| -rw-r--r-- | slock/explicit_bzero.c | 19 |
1 files changed, 0 insertions, 19 deletions
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 <string.h> - -__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); -} |
