]> sourceware.org Git - newlib-cygwin.git/commitdiff
strings.h: avoid namespace pollution
authorEric Blake <eblake@redhat.com>
Wed, 8 Dec 2010 02:47:14 +0000 (02:47 +0000)
committerEric Blake <eblake@redhat.com>
Wed, 8 Dec 2010 02:47:14 +0000 (02:47 +0000)
* libc/include/strings.h: Don't declare removed functions when
requesting POSIX 2008 compliance.

newlib/ChangeLog
newlib/libc/include/strings.h

index 893db1c12c98ab0ac472d58a46de791e0c1ae240..25d9c5df836dce256827b0348b4d1178700877e0 100644 (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>
 
        * libc/stdlib/strtod.c (_strtod_r): Fix code to handle case whereby
index 1d5bda67355c4c41d7435a181d1242187d44ef45..5ed846f5ca8b9fc59422b0c6b80d3c0949c224a8 100644 (file)
@@ -15,7 +15,7 @@
 
 _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
  * Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008
This page took 0.048838 seconds and 5 git commands to generate.