aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/madvise.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/madvise.c')
-rw-r--r--sysdeps/generic/madvise.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/generic/madvise.c b/sysdeps/generic/madvise.c
index 05ea8a9d89..dbef959dd8 100644
--- a/sysdeps/generic/madvise.c
+++ b/sysdeps/generic/madvise.c
@@ -24,11 +24,10 @@
for the region starting at ADDR and extending LEN bytes. */
int
-posix_madvise (__ptr_t addr, size_t len, int advice)
+madvise (__ptr_t addr, size_t len, int advice)
{
__set_errno (ENOSYS);
return -1;
}
-weak_alias (posix_madvise, madvise)
stub_warning (madvise)
#include <stub-tag.h>