about summary refs log tree commit diff
path: root/sysdeps/generic/madvise.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/madvise.c')
-rw-r--r--sysdeps/generic/madvise.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/generic/madvise.c b/sysdeps/generic/madvise.c
index 5431bda111..d6c2322d25 100644
--- a/sysdeps/generic/madvise.c
+++ b/sysdeps/generic/madvise.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,11 +24,12 @@
    for the region starting at ADDR and extending LEN bytes.  */
 
 int
-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 (__madvice, madvice)
+weak_alias (__madvice, posix_madvise)
 stub_warning (madvise)
 #include <stub-tag.h>