]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - posix/posix_madvise.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / posix / posix_madvise.c
index 6f8d60f55fbd2b7a13c30ace6fcf7155675a68c5..135f0907bc3c8896a37dcb122969b5b1b0547cb2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2019 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 #include <sys/types.h>
 #include <sys/mman.h>
@@ -24,9 +23,8 @@
    for the region starting at ADDR and extending LEN bytes.  */
 
 int
-posix_madvise (__ptr_t addr, size_t len, int advice)
+posix_madvise (void *addr, size_t len, int advice)
 {
   return ENOSYS;
 }
 stub_warning (posix_madvise)
-#include <stub-tag.h>