mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
* misc/madvise.c: Add libc_hidden_def.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
2007-04-19 Ulrich Drepper <drepper@redhat.com>
|
2007-04-19 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* include/sys/mman.h: Mark madvise hidden.
|
* include/sys/mman.h: Mark madvise hidden.
|
||||||
|
* misc/madvise.c: Add libc_hidden_def.
|
||||||
|
|
||||||
2007-04-06 Jakub Jelinek <jakub@redhat.com>
|
2007-04-06 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
@@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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);
|
__set_errno (ENOSYS);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (madvise)
|
||||||
stub_warning (madvise)
|
stub_warning (madvise)
|
||||||
#include <stub-tag.h>
|
#include <stub-tag.h>
|
||||||
|
Reference in New Issue
Block a user