about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-19 17:42:47 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-19 17:42:47 +0000
commitd07d044e43c64101b75637ae36c84d6eac88d597 (patch)
treea93ed6947638e99e02e0da0fc60e5eeb815f9c90
parent2592d1ec8d6d664830057536c43ff85c957ca63f (diff)
downloadglibc-d07d044e43c64101b75637ae36c84d6eac88d597.tar.gz
glibc-d07d044e43c64101b75637ae36c84d6eac88d597.tar.xz
glibc-d07d044e43c64101b75637ae36c84d6eac88d597.zip
* misc/madvise.c: Add libc_hidden_def.
-rw-r--r--ChangeLog1
-rw-r--r--misc/madvise.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f0277c1bb..e50fcb4495 100644
--- 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>
 
diff --git a/misc/madvise.c b/misc/madvise.c
index dbef959dd8..7a4aa8ab8e 100644
--- a/misc/madvise.c
+++ b/misc/madvise.c
@@ -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>