xref: /freebsd/tools/build/strings.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1*8d14ced6SAlex Richardson /*-
2*8d14ced6SAlex Richardson  * Copyright (c) 2015 Dimitry Andric <dim@FreeBSD.org>
3*8d14ced6SAlex Richardson  * Copyright (c) 2018 Alex Richardson <arichardson@FreeBSD.org>
4*8d14ced6SAlex Richardson  *
5*8d14ced6SAlex Richardson  * Redistribution and use in source and binary forms, with or without
6*8d14ced6SAlex Richardson  * modification, are permitted provided that the following conditions
7*8d14ced6SAlex Richardson  * are met:
8*8d14ced6SAlex Richardson  * 1. Redistributions of source code must retain the above copyright
9*8d14ced6SAlex Richardson  *    notice, this list of conditions and the following disclaimer.
10*8d14ced6SAlex Richardson  * 2. Redistributions in binary form must reproduce the above copyright
11*8d14ced6SAlex Richardson  *    notice, this list of conditions and the following disclaimer in the
12*8d14ced6SAlex Richardson  *    documentation and/or other materials provided with the distribution.
13*8d14ced6SAlex Richardson  *
14*8d14ced6SAlex Richardson  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15*8d14ced6SAlex Richardson  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*8d14ced6SAlex Richardson  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*8d14ced6SAlex Richardson  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18*8d14ced6SAlex Richardson  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*8d14ced6SAlex Richardson  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*8d14ced6SAlex Richardson  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*8d14ced6SAlex Richardson  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*8d14ced6SAlex Richardson  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*8d14ced6SAlex Richardson  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*8d14ced6SAlex Richardson  * SUCH DAMAGE.
25*8d14ced6SAlex Richardson  */
26*8d14ced6SAlex Richardson 
27*8d14ced6SAlex Richardson #ifndef _LEGACY_STRINGS_H_
28*8d14ced6SAlex Richardson #define	_LEGACY_STRINGS_H_
29*8d14ced6SAlex Richardson 
30*8d14ced6SAlex Richardson #include_next <strings.h>
31*8d14ced6SAlex Richardson 
32*8d14ced6SAlex Richardson __BEGIN_DECLS
33*8d14ced6SAlex Richardson 
34*8d14ced6SAlex Richardson #if __BSD_VISIBLE
35*8d14ced6SAlex Richardson void	 explicit_bzero(void *, size_t);
36*8d14ced6SAlex Richardson #endif /* __BSD_VISIBLE */
37*8d14ced6SAlex Richardson 
38*8d14ced6SAlex Richardson __END_DECLS
39*8d14ced6SAlex Richardson 
40*8d14ced6SAlex Richardson #endif /* !_LEGACY_STRINGS_H_ */
41