Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib reallocarray(3) cleanup
details: https://anonhg.NetBSD.org/src/rev/47ac80ded1d9
branches: trunk
changeset: 339507:47ac80ded1d9
user: kamil <kamil%NetBSD.org@localhost>
date: Sun Jul 26 02:22:33 2015 +0000
description:
reallocarray(3) cleanup
Add missing NetBSD CVS Id
Don't define twice _OPENBSD_SOURCE
diffstat:
lib/libc/stdlib/reallocarray.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 119b04366609 -r 47ac80ded1d9 lib/libc/stdlib/reallocarray.c
--- a/lib/libc/stdlib/reallocarray.c Sun Jul 26 02:20:30 2015 +0000
+++ b/lib/libc/stdlib/reallocarray.c Sun Jul 26 02:22:33 2015 +0000
@@ -1,3 +1,4 @@
+/* $NetBSD: reallocarray.c,v 1.5 2015/07/26 02:22:33 kamil Exp $ */
/* $OpenBSD: reallocarray.c,v 1.1 2014/05/08 21:43:49 deraadt Exp $ */
/*-
@@ -28,9 +29,9 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-#define _OPENBSD_SOURCE
+
#include <sys/cdefs.h>
-__RCSID("$NetBSD: reallocarray.c,v 1.4 2015/03/10 13:05:13 christos Exp $");
+__RCSID("$NetBSD: reallocarray.c,v 1.5 2015/07/26 02:22:33 kamil Exp $");
#define _OPENBSD_SOURCE
#include <errno.h>
Home |
Main Index |
Thread Index |
Old Index