diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-09-09 16:18:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-09-09 16:18:28 +0000 |
commit | d26d01d19ca19553c1049fe21a004f6caf2af386 (patch) | |
tree | d89c139244414b0f470a48ba9e5bce5fad014034 | |
parent | 2b6a801eed386e0b5b45fed671d898e8090cecbb (diff) | |
download | glibc-d26d01d19ca19553c1049fe21a004f6caf2af386.tar.gz glibc-d26d01d19ca19553c1049fe21a004f6caf2af386.tar.xz glibc-d26d01d19ca19553c1049fe21a004f6caf2af386.zip |
[BZ #3189]
2006-09-09 Ulrich Drepper <drepper@redhat.com> [BZ #3189] * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | misc/sys/mman.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 2ca27d887d..06f58d9847 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-09 Ulrich Drepper <drepper@redhat.com> + + [BZ #3189] + * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. + 2006-09-07 Jakub Jelinek <jakub@redhat.com> [BZ #1006] diff --git a/misc/sys/mman.h b/misc/sys/mman.h index d9f4747b7f..59718a267f 100644 --- a/misc/sys/mman.h +++ b/misc/sys/mman.h @@ -131,7 +131,9 @@ extern void *mremap (void *__addr, size_t __old_len, size_t __new_len, it is zero. */ extern int mincore (void *__start, size_t __len, unsigned char *__vec) __THROW; +#endif +#ifdef __USE_GNU /* Remap arbitrary pages of a shared backing store within an existing VMA. */ extern int remap_file_pages (void *__start, size_t __size, int __prot, |