* misc/madvise.c: Add libc_hidden_def.
authorUlrich Drepper <drepper@redhat.com>
Thu, 19 Apr 2007 17:42:47 +0000 (17:42 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 19 Apr 2007 17:42:47 +0000 (17:42 +0000)
ChangeLog
misc/madvise.c

index 7f0277c..e50fcb4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-04-19  Ulrich Drepper  <drepper@redhat.com>
 
        * include/sys/mman.h: Mark madvise hidden.
+       * misc/madvise.c: Add libc_hidden_def.
 
 2007-04-06  Jakub Jelinek  <jakub@redhat.com>
 
index dbef959..7a4aa8a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1994,1995,1996,1997,2000,2007 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
@@ -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>