2007-04-19 Ulrich Drepper <drepper@redhat.com>

* include/sys/mman.h: Mark madvise hidden.
	* misc/madvise.c: Add libc_hidden_def.
This commit is contained in:
Jakub Jelinek 2007-07-12 15:10:31 +00:00
parent 9432bd85dd
commit d70abb0d67
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-04-19 Ulrich Drepper <drepper@redhat.com>
* include/sys/mman.h: Mark madvise hidden.
* misc/madvise.c: Add libc_hidden_def.
2007-04-17 Ulrich Drepper <drepper@redhat.com>
[BZ #4368]

View File

@ -12,4 +12,7 @@ extern int __mprotect (void *__addr, size_t __len, int __prot);
/* This one is Linux specific. */
extern void *__mremap (void *__addr, size_t __old_len,
size_t __new_len, int __flags, ...);
libc_hidden_proto (madvise);
#endif

View File

@ -29,5 +29,6 @@ madvise (__ptr_t addr, size_t len, int advice)
__set_errno (ENOSYS);
return -1;
}
libc_hidden_def (madvise)
stub_warning (madvise)
#include <stub-tag.h>