stdlib.h revision 302408
166458Sdfr/*- 266458Sdfr * Copyright (c) 2015 Dimitry Andric <dim@FreeBSD.org> 396912Smarcel * All rights reserved. 496912Smarcel * 5139790Simp * Redistribution and use in source and binary forms, with or without 666458Sdfr * modification, are permitted provided that the following conditions 766458Sdfr * are met: 866458Sdfr * 1. Redistributions of source code must retain the above copyright 966458Sdfr * notice, this list of conditions and the following disclaimer. 1066458Sdfr * 2. Redistributions in binary form must reproduce the above copyright 1166458Sdfr * notice, this list of conditions and the following disclaimer in the 1266458Sdfr * documentation and/or other materials provided with the distribution. 1366458Sdfr * 1466458Sdfr * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1566458Sdfr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1666458Sdfr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1766458Sdfr * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1866458Sdfr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1966458Sdfr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2066458Sdfr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2166458Sdfr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2266458Sdfr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2366458Sdfr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2466458Sdfr * SUCH DAMAGE. 2566458Sdfr * 2666458Sdfr * $FreeBSD: stable/11/tools/build/stdlib.h 282994 2015-05-15 22:19:35Z dim $ 2766458Sdfr */ 2866458Sdfr 2966458Sdfr#ifndef _LEGACY_STDLIB_H_ 3066458Sdfr#define _LEGACY_STDLIB_H_ 3166458Sdfr 3266458Sdfr#include_next <stdlib.h> 3366458Sdfr 3466458Sdfr__BEGIN_DECLS 3566458Sdfr 3666458Sdfr#if __BSD_VISIBLE 3766458Sdfrvoid *reallocarray(void *, size_t, size_t); 3866458Sdfr#endif /* __BSD_VISIBLE */ 3966458Sdfr 4066458Sdfr__END_DECLS 4166458Sdfr 4266458Sdfr#endif /* !_LEGACY_STDLIB_H_ */ 4366458Sdfr