diff options
Diffstat (limited to 'tests/test-random_r.c')
-rw-r--r-- | tests/test-random_r.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-random_r.c b/tests/test-random_r.c index 99b7478b..d86252e2 100644 --- a/tests/test-random_r.c +++ b/tests/test-random_r.c @@ -1,5 +1,5 @@ /* Test random_r. - Copyright (C) 2008-2024 Free Software Foundation, Inc. + Copyright (C) 2008-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,9 +20,11 @@ #include "signature.h" SIGNATURE_CHECK (srandom_r, int, (unsigned int, struct random_data *)); +#if !defined __HAIKU__ SIGNATURE_CHECK (initstate_r, int, (unsigned int, char *, size_t, struct random_data *)); SIGNATURE_CHECK (setstate_r, int, (char *, struct random_data *)); +#endif SIGNATURE_CHECK (random_r, int, (struct random_data *, int32_t *)); #include <time.h> @@ -30,7 +32,7 @@ SIGNATURE_CHECK (random_r, int, (struct random_data *, int32_t *)); #include "macros.h" /* Note: This test crashes on glibc/SPARC systems. - Reported at <https://sourceware.org/bugzilla/show_bug.cgi?id=30584>. */ + Reported at <https://sourceware.org/PR30584>. */ static int test_failed (int alignment) |