diff options
author | deischen <deischen@FreeBSD.org> | 2005-11-12 16:00:29 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2005-11-12 16:00:29 +0000 |
commit | 7e11077be27d1e79c7fc6515ba9f40a995d9d6ca (patch) | |
tree | 8e58ffe558abd128719be1ba10214abbb5b9215e | |
parent | 2630cf97210352fb064718d7578b3ad196e1231f (diff) | |
download | FreeBSD-src-7e11077be27d1e79c7fc6515ba9f40a995d9d6ca.zip FreeBSD-src-7e11077be27d1e79c7fc6515ba9f40a995d9d6ca.tar.gz |
Fix a stub function so that is has the correct number of
arguments. While I'm here, correct a couple of [tab] alignments.
Submitted by: bland
-rw-r--r-- | lib/libc/gen/_pthread_stubs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/_pthread_stubs.c b/lib/libc/gen/_pthread_stubs.c index dd93752..840f64a 100644 --- a/lib/libc/gen/_pthread_stubs.c +++ b/lib/libc/gen/_pthread_stubs.c @@ -97,8 +97,8 @@ pthread_func_entry_t __thr_jtable[PJT_MAX] = { #define FUNC_EXP(name) __CONCAT(name, _exp) #define STUB_FUNC(name, idx, ret) \ - static ret FUNC_EXP(name)(void) __used; \ - static ret FUNC_INT(name)(void) __used; \ + static ret FUNC_EXP(name)(void) __used; \ + static ret FUNC_INT(name)(void) __used; \ WEAK_REF(FUNC_EXP(name), name); \ WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \ typedef ret (*FUNC_TYPE(name))(void); \ @@ -176,7 +176,7 @@ STUB_FUNC1(pthread_cond_broadcast, PJT_COND_BROADCAST, int, void *) STUB_FUNC1(pthread_cond_destroy, PJT_COND_DESTROY, int, void *) STUB_FUNC2(pthread_cond_init, PJT_COND_INIT, int, void *, void *) STUB_FUNC1(pthread_cond_signal, PJT_COND_SIGNAL, int, void *) -STUB_FUNC1(pthread_cond_wait, PJT_COND_WAIT, int, void *) +STUB_FUNC2(pthread_cond_wait, PJT_COND_WAIT, int, void *, void *) STUB_FUNC1(pthread_getspecific, PJT_GETSPECIFIC, void *, pthread_key_t) STUB_FUNC2(pthread_key_create, PJT_KEY_CREATE, int, void *, void *) STUB_FUNC1(pthread_key_delete, PJT_KEY_DELETE, int, pthread_key_t) |