diff options
Diffstat (limited to 'tests/test-listen.c')
-rw-r--r-- | tests/test-listen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-listen.c b/tests/test-listen.c index 21fc7a2b..b7ce9b43 100644 --- a/tests/test-listen.c +++ b/tests/test-listen.c @@ -28,7 +28,7 @@ SIGNATURE_CHECK (listen, int, (int, int)); #include "macros.h" /* Tell GCC not to warn about the specific edge cases tested here. */ -#if __GNUC__ >= 13 +#if _GL_GNUC_PREREQ (13, 0) # pragma GCC diagnostic ignored "-Wanalyzer-fd-use-without-check" #endif @@ -50,5 +50,5 @@ main (void) ASSERT (errno == EBADF); } - return 0; + return test_exit_status; } |