about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-17 09:30:29 +0100
committerSam James <sam@gentoo.org>2023-08-24 13:17:10 +0100
commit1aed90c9c8f8be9f68b58e96b6e4cd0fc08eb2b1 (patch)
tree19a3d2fae9833eb60435222caf439dc6bcdd58d7
parentad9b8399537670a990572c4b0c4da5411e3b68cf (diff)
downloadglibc-1aed90c9c8f8be9f68b58e96b6e4cd0fc08eb2b1.tar.gz
glibc-1aed90c9c8f8be9f68b58e96b6e4cd0fc08eb2b1.tar.xz
glibc-1aed90c9c8f8be9f68b58e96b6e4cd0fc08eb2b1.zip
sysdeps: tst-bz21269: fix -Wreturn-type
Thanks to Andreas Schwab for reporting.

Fixes: 652b9fdb77d9fd056d4dd26dad2c14142768ab49
Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit 369f373057073c307938da91af16922bda3dff6a)
-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