about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--include/sys/mman.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bb590a0a8..7f0277c1bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-19  Ulrich Drepper  <drepper@redhat.com>
+
+	* include/sys/mman.h: Mark madvise hidden.
+
 2007-04-06  Jakub Jelinek  <jakub@redhat.com>
 
 	* nis/nis_domain_of.c (__nis_domain_of): New function.
diff --git a/include/sys/mman.h b/include/sys/mman.h
index 8c07a4e2c6..a4687b30f7 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -12,4 +12,7 @@ extern int __mprotect (void *__addr, size_t __len, int __prot);
 /* This one is Linux specific.  */
 extern void *__mremap (void *__addr, size_t __old_len,
 		       size_t __new_len, int __flags, ...);
+
+libc_hidden_proto (madvise);
+
 #endif