Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include add reallocarray



details:   https://anonhg.NetBSD.org/src/rev/361f735fb0ba
branches:  trunk
changeset: 335993:361f735fb0ba
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 05 16:05:46 2015 +0000

description:
add reallocarray

diffstat:

 include/stdlib.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 595dec41ab27 -r 361f735fb0ba include/stdlib.h
--- a/include/stdlib.h  Thu Feb 05 16:05:20 2015 +0000
+++ b/include/stdlib.h  Thu Feb 05 16:05:46 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdlib.h,v 1.112 2015/01/18 17:56:09 christos Exp $    */
+/*     $NetBSD: stdlib.h,v 1.113 2015/02/05 16:05:46 christos Exp $    */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -364,6 +364,7 @@
        strtoull_l(const char * __restrict, char ** __restrict, int, locale_t);
 
 #  if defined(_NETBSD_SOURCE)
+void   *reallocarray(void *, size_t, size_t);
 quad_t  strtoq_l(const char * __restrict, char ** __restrict, int, locale_t);
 u_quad_t strtouq_l(const char * __restrict, char ** __restrict, int, locale_t);
 



Home | Main Index | Thread Index | Old Index