summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/explicit_bzero.c
blob: e1669203bd0db0d24a3012df75b6db93fbd4794a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	$OpenBSD: explicit_bzero.c,v 1.1 2012/10/09 12:03:51 jsing Exp $	*/
/*
 * Public domain.
 * Written by Ted Unangst
 */

#include <lib/libsa/stand.h>

/*
 * explicit_bzero - don't let the compiler optimize away bzero
 */
void
explicit_bzero(void *p, size_t n)
{
	bzero(p, n);
}