From 2905bec307d7cbef0367641e0e427e579285a378 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Wed, 5 Dec 2018 18:50:21 +0000 Subject: [PATCH] local-madvise_warn Do not warn about madvise not being implemented. It does not have any real semantic anyway, and that brings some -Werror FTBFS. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name local-madvise_warn.diff --- misc/madvise.c | 2 +- posix/posix_madvise.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/madvise.c b/misc/madvise.c index 988f7b09d..dece37e75 100644 --- a/misc/madvise.c +++ b/misc/madvise.c @@ -32,4 +32,4 @@ __madvise (void *addr, size_t len, int advice) libc_hidden_def (__madvise) weak_alias (__madvise, madvise) -stub_warning (madvise) +/* stub_warning (madvise) */ diff --git a/posix/posix_madvise.c b/posix/posix_madvise.c index f789a9a86..3822af125 100644 --- a/posix/posix_madvise.c +++ b/posix/posix_madvise.c @@ -27,4 +27,4 @@ posix_madvise (void *addr, size_t len, int advice) { return ENOSYS; } -stub_warning (posix_madvise) +/* stub_warning (posix_madvise) */ -- 2.30.2