From 1d3bb7334ff0d85468560d1a34a429569268fcd4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 9 Nov 2006 21:53:33 +0000 Subject: [PATCH] [BZ #3493] * posix/unistd.h (sysconf): Remove const attribute. --- ChangeLog | 3 +++ posix/unistd.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 414a175..ea15d6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-11-09 Ulrich Drepper + [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 . diff --git a/posix/unistd.h b/posix/unistd.h index b751928..c74190d 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. */ -- 2.7.4