about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-17 09:30:29 +0100
committerSam James <sam@gentoo.org>2023-08-17 09:30:57 +0100
commit369f373057073c307938da91af16922bda3dff6a (patch)
treed5b3e0f2de154cbbb0e307aa7e17e9075f4254d1 /sysdeps/unix/sysv/linux
parent8944ba483f9215a4606430b7717f056049863032 (diff)
downloadglibc-369f373057073c307938da91af16922bda3dff6a.tar.gz
glibc-369f373057073c307938da91af16922bda3dff6a.tar.xz
glibc-369f373057073c307938da91af16922bda3dff6a.zip
sysdeps: tst-bz21269: fix -Wreturn-type
Thanks to Andreas Schwab for reporting.

Fixes: 652b9fdb77d9fd056d4dd26dad2c14142768ab49
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-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