8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libc / port / gen / explicit_bzero.c
blobb27b4b9866abe725f565bd23c3a084128a4c9fa5
1 /* $OpenBSD: explicit_bzero.c,v 1.3 2014/06/21 02:34:26 matthew Exp $ */
2 /*
3 * Public domain.
4 * Written by Matthew Dempsky.
5 */
7 #include <string.h>
9 #pragma weak __explicit_bzero_hook
10 /* ARGSUSED */
11 void
12 __explicit_bzero_hook(void *buf, size_t len)
16 void
17 explicit_bzero(void *buf, size_t len)
19 (void) memset(buf, 0, len);
20 __explicit_bzero_hook(buf, len);