summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2004-07-29 18:07:08 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2004-07-29 18:07:08 +0000
commit132cc0756e5e8eb5d2b3f6215d9a13921e2cbfa0 (patch)
treeeba52ce4be659ab7cf65a8c6f100dfa80aab6837 /lib/libc
parentc27501e784918a8ee8277e52d022b20b97a751e9 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/_pthread_stubs.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/gen/_pthread_stubs.c b/lib/libc/gen/_pthread_stubs.c
index ef9ecb4bc959..dd93752ac7f9 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) __unused; \
- static ret FUNC_INT(name)(void) __unused; \
+ 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); \
@@ -116,8 +116,8 @@ pthread_func_entry_t __thr_jtable[PJT_MAX] = {
}
#define STUB_FUNC1(name, idx, ret, p0_type) \
- static ret FUNC_EXP(name)(p0_type) __unused; \
- static ret FUNC_INT(name)(p0_type) __unused; \
+ static ret FUNC_EXP(name)(p0_type) __used; \
+ static ret FUNC_INT(name)(p0_type) __used; \
WEAK_REF(FUNC_EXP(name), name); \
WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \
typedef ret (*FUNC_TYPE(name))(p0_type); \
@@ -135,8 +135,8 @@ pthread_func_entry_t __thr_jtable[PJT_MAX] = {
}
#define STUB_FUNC2(name, idx, ret, p0_type, p1_type) \
- static ret FUNC_EXP(name)(p0_type, p1_type) __unused; \
- static ret FUNC_INT(name)(p0_type, p1_type) __unused; \
+ static ret FUNC_EXP(name)(p0_type, p1_type) __used; \
+ static ret FUNC_INT(name)(p0_type, p1_type) __used; \
WEAK_REF(FUNC_EXP(name), name); \
WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \
typedef ret (*FUNC_TYPE(name))(p0_type, p1_type); \
@@ -154,8 +154,8 @@ pthread_func_entry_t __thr_jtable[PJT_MAX] = {
}
#define STUB_FUNC3(name, idx, ret, p0_type, p1_type, p2_type) \
- static ret FUNC_EXP(name)(p0_type, p1_type, p2_type) __unused; \
- static ret FUNC_INT(name)(p0_type, p1_type, p2_type) __unused; \
+ static ret FUNC_EXP(name)(p0_type, p1_type, p2_type) __used; \
+ static ret FUNC_INT(name)(p0_type, p1_type, p2_type) __used; \
WEAK_REF(FUNC_EXP(name), name); \
WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \
typedef ret (*FUNC_TYPE(name))(p0_type, p1_type, p2_type); \