From: GNU Libc Maintainers Date: Mon, 16 Jan 2017 17:43:37 +0000 (+0000) Subject: local-madvise_warn X-Git-Tag: archive/raspbian/2.25-3+rpi1~1^2^2^2^2^2^2^2~129 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=356916d045b3c5e5c3c9462ada50b103c43caeac;p=glibc.git 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 --- diff --git a/misc/madvise.c b/misc/madvise.c index 91674bd76..ca4d6af3c 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 cc84c9732..5ef60b431 100644 --- a/posix/posix_madvise.c +++ b/posix/posix_madvise.c @@ -27,4 +27,4 @@ posix_madvise (__ptr_t addr, size_t len, int advice) { return ENOSYS; } -stub_warning (posix_madvise) +/* stub_warning (posix_madvise) */