aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-17 09:30:29 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-01-31 17:27:43 +0100
commit32fe5ad34553f576ee63d4597417a9aabedcef2b (patch)
treea8886087a44cda1677c0081665c4a1768086aa6b
parentsysdeps: tst-bz21269: handle ENOSYS & skip appropriately (diff)
downloadglibc-gentoo/2.37.tar.gz
glibc-gentoo/2.37.tar.bz2
glibc-gentoo/2.37.zip
sysdeps: tst-bz21269: fix -Wreturn-typegentoo/glibc-2.37-12gentoo/2.37
Thanks to Andreas Schwab for reporting. Fixes: 652b9fdb77d9fd056d4dd26dad2c14142768ab49 Signed-off-by: Sam James <sam@gentoo.org> (cherry picked from commit 369f373057073c307938da91af16922bda3dff6a) (cherry picked from commit d97929eadc34df64e2e33ed175847c358b9cf14f)
-rw-r--r--sysdeps/unix/sysv/linux/i386/tst-bz21269.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/tst-bz21269.c b/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
index 28f5359bea..822c41fceb 100644
--- a/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
+++ b/sysdeps/unix/sysv/linux/i386/tst-bz21269.c
@@ -60,8 +60,6 @@ xmodify_ldt (int func, const void *ptr, unsigned long bytecount)
FAIL_UNSUPPORTED ("modify_ldt not supported");
FAIL_EXIT1 ("modify_ldt failed (errno=%d)", errno);
}
-
- return 0;
}
static int