From 221068db214e2f8a9f6ea62c1c2795446844ffb2 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 17 Feb 2015 20:33:40 +0000 Subject: Move reallocarray under _OPENBSD_SOURCE where it belongs. --- lib/libc/stdlib/reallocarray.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libc/stdlib/reallocarray.c') diff --git a/lib/libc/stdlib/reallocarray.c b/lib/libc/stdlib/reallocarray.c index eaf9e8b34e4..9be4e83ff34 100644 --- a/lib/libc/stdlib/reallocarray.c +++ b/lib/libc/stdlib/reallocarray.c @@ -14,8 +14,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define _OPENBSD_SOURCE #include -__RCSID("$NetBSD: reallocarray.c,v 1.1 2015/02/05 16:04:35 christos Exp $"); +__RCSID("$NetBSD: reallocarray.c,v 1.2 2015/02/17 20:33:40 joerg Exp $"); #include #include -- cgit