diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-01-13 12:06:56 +0100 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-01-13 12:06:56 +0100 |
commit | 76abb76f59341a7ef75566e3f9cb59dea3648b4a (patch) | |
tree | dac4aefa0a7e9825192b6440e0b5cbec698cec2d /libdde_linux26/contrib/include/linux | |
parent | 29f78c0a9520864b0b2f8707710ed4b46bd4bcaa (diff) |
hide __mutex_init because of name conflict with libc.
Diffstat (limited to 'libdde_linux26/contrib/include/linux')
-rw-r--r-- | libdde_linux26/contrib/include/linux/mutex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdde_linux26/contrib/include/linux/mutex.h b/libdde_linux26/contrib/include/linux/mutex.h index 7a0e5c4f..cf30c48c 100644 --- a/libdde_linux26/contrib/include/linux/mutex.h +++ b/libdde_linux26/contrib/include/linux/mutex.h @@ -102,8 +102,9 @@ do { \ #define DEFINE_MUTEX(mutexname) \ struct mutex mutexname = __MUTEX_INITIALIZER(mutexname) +#define HIDDEN __attribute__ ((visibility("hidden"))) -extern void __mutex_init(struct mutex *lock, const char *name, +extern void HIDDEN __mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key); /** |