Skip to content

Commit

Permalink
[BZ #3493]
Browse files Browse the repository at this point in the history
	* posix/unistd.h (sysconf): Remove const attribute.
  • Loading branch information
Ulrich Drepper committed Nov 9, 2006
1 parent 1c632ce commit 1d3bb73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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>.
Expand Down
2 changes: 1 addition & 1 deletion posix/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 1d3bb73

Please sign in to comment.