diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2002-11-13 21:55:22 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2002-11-13 21:55:22 +0000 |
| commit | fcfc20c88ad09cb413da8f3a7c5bb4c9dc29aac9 (patch) | |
| tree | d88f7953040e5facb063979c9234ec26f5545c7c /lib/libc | |
| parent | 41f778bb999b0e0033e3b679989d8743b3afa55b (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/_pthread_stubs.c | 2 | ||||
| -rw-r--r-- | lib/libc/include/libc_private.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/_pthread_stubs.c b/lib/libc/gen/_pthread_stubs.c index 0555d78eb1a0..ef9ecb4bc959 100644 --- a/lib/libc/gen/_pthread_stubs.c +++ b/lib/libc/gen/_pthread_stubs.c @@ -56,7 +56,7 @@ static int stub_zero(void); #define PJT_DUAL_ENTRY(entry) \ (pthread_func_t)entry, (pthread_func_t)entry -pthread_func_t __thr_jtable[PJT_MAX][2] = { +pthread_func_entry_t __thr_jtable[PJT_MAX] = { {PJT_DUAL_ENTRY(stub_zero)}, /* PJT_COND_BROADCAST */ {PJT_DUAL_ENTRY(stub_zero)}, /* PJT_COND_DESTROY */ {PJT_DUAL_ENTRY(stub_zero)}, /* PJT_COND_INIT */ diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index a588c8ace323..3736c56ac85b 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -102,8 +102,9 @@ typedef enum { } pjt_index_t; typedef int (*pthread_func_t)(void); +typedef pthread_func_t pthread_func_entry_t[2]; -extern pthread_func_t *__thr_jtable[]; +extern pthread_func_entry_t __thr_jtable[]; /* * This is a pointer in the C run-time startup code. It is used |
