OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
799217d
)
Fix stupid typing problems
author
Eric Andersen
<andersen@codepoet.org>
Sun, 6 Jan 2002 08:59:17 +0000
(08:59 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sun, 6 Jan 2002 08:59:17 +0000
(08:59 -0000)
libpthread/pthread.c
patch
|
blob
|
history
diff --git
a/libpthread/pthread.c
b/libpthread/pthread.c
index
d3eb139
..
bc27aee
100644
(file)
--- a/
libpthread/pthread.c
+++ b/
libpthread/pthread.c
@@
-110,12
+110,12
@@
int pthread_join (pthread_t thread, void **thread_return)
/* Fixme -- wait for thread and get its return value */
retval = EXIT_SUCCESS;
if (thread_return)
- *thread_return = retval;
+
(int)
*thread_return = retval;
_exit(retval);
}
link_warning(pthread_join, "pthread_join is a stub and does not behave properly");
void pthread_exit (void *retval)
{
- _exit(retval);
+ _exit(
*(int *)
retval);
}