about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-11-09 21:53:33 +0000
committerUlrich Drepper <drepper@redhat.com>2006-11-09 21:53:33 +0000
commit1d3bb7334ff0d85468560d1a34a429569268fcd4 (patch)
treec5f495f15962b1a244760e785d5a2f413558e268
parent1c632cebfa24f661f77e0e51d360b53d631e59b4 (diff)
downloadglibc-1d3bb7334ff0d85468560d1a34a429569268fcd4.tar.gz
glibc-1d3bb7334ff0d85468560d1a34a429569268fcd4.tar.xz
glibc-1d3bb7334ff0d85468560d1a34a429569268fcd4.zip
[BZ #3493]
	* posix/unistd.h (sysconf): Remove const attribute.
-rw-r--r--ChangeLog3
-rw-r--r--posix/unistd.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 414a175c5c..ea15d6e66e 100644
--- 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>.
diff --git a/posix/unistd.h b/posix/unistd.h
index b751928b1e..c74190dfc3 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -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.  */