local-madvise_warn
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 5 Dec 2018 18:50:21 +0000 (18:50 +0000)
committerAurelien Jarno <aurel32@debian.org>
Wed, 5 Dec 2018 18:50:21 +0000 (18:50 +0000)
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
posix/posix_madvise.c

index 988f7b09d50ee770277d25257e6654071f142ba4..dece37e758a92c9e86fcd00a46f5d75bf8cf0ec2 100644 (file)
@@ -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) */
index f789a9a862cbacb03db826e709fdc45e7c884190..3822af125b9c4b0a1213873b72e718f15100a6ff 100644 (file)
@@ -27,4 +27,4 @@ posix_madvise (void *addr, size_t len, int advice)
 {
   return ENOSYS;
 }
-stub_warning (posix_madvise)
+/* stub_warning (posix_madvise) */