projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
[external/binutils.git]
/
gdb
/
testsuite
/
gdb.threads
/
linux-dp.c
diff --git
a/gdb/testsuite/gdb.threads/linux-dp.c
b/gdb/testsuite/gdb.threads/linux-dp.c
index
c3775bd
..
a57938d
100644
(file)
--- a/
gdb/testsuite/gdb.threads/linux-dp.c
+++ b/
gdb/testsuite/gdb.threads/linux-dp.c
@@
-71,11
+71,10
@@
shared_printf (char *format, ...)
int
shared_random ()
{
- static unsigned int seed;
int result;
pthread_mutex_lock (&random_mutex);
- result = rand
_r (&seed
);
+ result = rand
(
);
pthread_mutex_unlock (&random_mutex);
return result;
}