[BZ #3493]
authorUlrich Drepper <drepper@redhat.com>
Thu, 9 Nov 2006 21:53:33 +0000 (21:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 9 Nov 2006 21:53:33 +0000 (21:53 +0000)
* posix/unistd.h (sysconf): Remove const attribute.

ChangeLog
posix/unistd.h

index 414a175..ea15d6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-11-09  Ulrich Drepper  <drepper@redhat.com>
 
+       [BZ #3493]
+       * posix/unistd.h (sysconf): Remove const attribute.
+
        * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for
        temporary or deprecated addresses.
        Patch by Sridhar Samudrala <sri@us.ibm.com>.
index b751928..c74190d 100644 (file)
@@ -559,7 +559,7 @@ extern long int pathconf (__const char *__path, int __name)
 extern long int fpathconf (int __fd, int __name) __THROW;
 
 /* Get the value of the system variable NAME.  */
-extern long int sysconf (int __name) __THROW __attribute__ ((__const__));
+extern long int sysconf (int __name) __THROW;
 
 #ifdef __USE_POSIX2
 /* Get the value of the string-valued system variable NAME.  */