diff options
-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); /** |