summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-20 00:19:01 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:29 +0200
commita9b153b6a8e66f00da69ab0cf2465767695fe86f (patch)
tree318af21f8c309b5071e5b51569453853137dbd08
parentb8634d3537fd8f2dadce04bc4d216c622e620065 (diff)
resolv.c,time.c,_atexit.c: hide 3 locks
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--libc/inet/resolv.c2
-rw-r--r--libc/misc/time/time.c2
-rw-r--r--libc/stdlib/_atexit.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 78de28337..b4246d377 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -405,7 +405,7 @@ typedef union sockaddr46_t {
} sockaddr46_t;
-__UCLIBC_MUTEX_EXTERN(__resolv_lock);
+__UCLIBC_MUTEX_EXTERN(__resolv_lock) attribute_hidden;
/* Protected by __resolv_lock */
extern void (*__res_sync)(void) attribute_hidden;
diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
index ee1c0c532..fd7c86d28 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -208,7 +208,7 @@ typedef struct {
char tzname[TZNAME_MAX+1];
} rule_struct;
-__UCLIBC_MUTEX_EXTERN(_time_tzlock);
+__UCLIBC_MUTEX_EXTERN(_time_tzlock) attribute_hidden;
extern rule_struct _time_tzinfo[2] attribute_hidden;
diff --git a/libc/stdlib/_atexit.c b/libc/stdlib/_atexit.c
index f49d5c3f4..770494eec 100644
--- a/libc/stdlib/_atexit.c
+++ b/libc/stdlib/_atexit.c
@@ -44,7 +44,7 @@
#include <atomic.h>
#include <bits/uClibc_mutex.h>
-__UCLIBC_MUTEX_EXTERN(__atexit_lock);
+__UCLIBC_MUTEX_EXTERN(__atexit_lock) attribute_hidden;