summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2015-02-17 20:33:40 +0000
committerjoerg <joerg@NetBSD.org>2015-02-17 20:33:40 +0000
commit221068db214e2f8a9f6ea62c1c2795446844ffb2 (patch)
tree490e3cde8d46d5ed241ab5b45516609bee5f4100 /lib/libc/stdlib/reallocarray.c
parent048d6e434ac622b7083a79a7f3f088769d55cc5c (diff)
Move reallocarray under _OPENBSD_SOURCE where it belongs.
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
-rw-r--r--lib/libc/stdlib/reallocarray.c3
1 files changed, 2 insertions, 1 deletions
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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/types.h>