strings.h: avoid namespace pollution

* libc/include/strings.h: Don't declare removed functions when
requesting POSIX 2008 compliance.
This commit is contained in:
Eric Blake 2010-12-08 02:47:14 +00:00
parent bbb052381b
commit 1dfc6c9535
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-12-07 Eric Blake <eblake@redhat.com>
* libc/include/strings.h: Don't declare removed functions when
requesting POSIX 2008 compliance.
2010-12-07 Jeff Johnston <jjohnstn@redhat.com> 2010-12-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/strtod.c (_strtod_r): Fix code to handle case whereby * libc/stdlib/strtod.c (_strtod_r): Fix code to handle case whereby

View File

@ -15,7 +15,7 @@
_BEGIN_STD_C _BEGIN_STD_C
#ifndef __STRICT_ANSI__ #if !defined __STRICT_ANSI__ && _POSIX_VERSION < 200809L
/* /*
* Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004 * Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
* Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008 * Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008