mirror of
https://github.com/minio/minio.git
synced 2025-11-29 05:19:03 -05:00
A full restructure
This commit is contained in:
20
pkg/signify/libsignify/explicit_bzero.c
Normal file
20
pkg/signify/libsignify/explicit_bzero.c
Normal file
@@ -0,0 +1,20 @@
|
||||
/* $OpenBSD: explicit_bzero.c,v 1.1 2014/01/22 21:06:45 tedu Exp $ */
|
||||
/*
|
||||
* Public domain.
|
||||
* Written by Ted Unangst
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "util.h"
|
||||
|
||||
/*
|
||||
* explicit_bzero - don't let the compiler optimize away bzero
|
||||
*/
|
||||
|
||||
static void (* volatile signify_bzero)(void *, size_t) = bzero;
|
||||
|
||||
void
|
||||
explicit_bzero(void *p, size_t n)
|
||||
{
|
||||
signify_bzero(p, n);
|
||||
}
|
||||
Reference in New Issue
Block a user