summaryrefslogtreecommitdiff
path: root/tests/test-random_r.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-10-18 19:06:52 +0200
committerJörg Frings-Fürst <debian@jff.email>2025-10-18 19:06:52 +0200
commit27dae84ed92f1ef0300263091972338d12e78348 (patch)
tree7c52931f474fafb8a4bd4fd15ca3461c77cdecc2 /tests/test-random_r.c
parent4682deeb62247d34de87f8e777f99e2d337fd377 (diff)
New upstream version 1.4.1upstream/1.4.1upstream
Diffstat (limited to 'tests/test-random_r.c')
-rw-r--r--tests/test-random_r.c6
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)