* misc/madvise.c: Add libc_hidden_def.

This commit is contained in:
Ulrich Drepper 2007-04-19 17:42:47 +00:00
parent 2592d1ec8d
commit d07d044e43
2 changed files with 3 additions and 1 deletions

View File

@ -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>

View 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>