]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[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 414a175c5c64be8a490bc1a972df69e95c19dfc1..ea15d6e66e47899e13d5f8c1160947f23882fffc 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 b751928b1e566311ea9b8af7412527442e8d1a89..c74190dfc34cc46d56f3e36ceddfd9bb23da4a1f 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.  */