Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/include Pull up following revision(s) (requested by kamil...
details: https://anonhg.NetBSD.org/src/rev/dd7ca17cbdbf
branches: netbsd-8
changeset: 434656:dd7ca17cbdbf
user: snj <snj%NetBSD.org@localhost>
date: Sun Feb 25 23:53:59 2018 +0000
description:
Pull up following revision(s) (requested by kamil in ticket #561):
include/string.h: 1.52
Mark in string.h: memccpy(3) and strdup(3) as _POSIX_C_SOURCE >= 2001
diffstat:
include/string.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 6d65c4319095 -r dd7ca17cbdbf include/string.h
--- a/include/string.h Sun Feb 25 23:51:22 2018 +0000
+++ b/include/string.h Sun Feb 25 23:53:59 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.51 2016/10/12 20:01:22 christos Exp $ */
+/* $NetBSD: string.h,v 1.51.6.1 2018/02/25 23:53:59 snj Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -74,7 +74,8 @@
#endif /* _POSIX_C_SOURCE >= 199506 || XOPEN_SOURCE >= 500 || ... */
size_t strxfrm(char * __restrict, const char * __restrict, size_t);
-#if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE)
+#if (_POSIX_C_SOURCE - 0 >= 200112L) || defined(_XOPEN_SOURCE) || \
+ defined(_NETBSD_SOURCE)
void *memccpy(void *, const void *, int, size_t);
char *strdup(const char *);
#endif
Home |
Main Index |
Thread Index |
Old Index