diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | posix/unistd.h | 2 |
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. */ |