Эх сурвалжийг харах

hide internal __time_tm/_time_tzinfo symbols

Mike Frysinger 19 жил өмнө
parent
commit
56d3944e62
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      libc/misc/time/time.c

+ 2 - 2
libc/misc/time/time.c

@@ -206,7 +206,7 @@ extern char *__nl_langinfo_l (nl_item __item, __locale_t l) attribute_hidden;
 
 /**********************************************************************/
 
-extern struct tm __time_tm;
+extern struct tm __time_tm attribute_hidden;
 
 extern struct tm *__localtime_r (__const time_t *__restrict __timer,
 			       struct tm *__restrict __tp) attribute_hidden;
@@ -230,7 +230,7 @@ extern pthread_mutex_t _time_tzlock;
 #define TZLOCK		__pthread_mutex_lock(&_time_tzlock)
 #define TZUNLOCK	__pthread_mutex_unlock(&_time_tzlock)
 
-extern rule_struct _time_tzinfo[2];
+extern rule_struct _time_tzinfo[2] attribute_hidden;
 
 extern struct tm *_time_t2tm(const time_t *__restrict timer,
 					int offset, struct tm *__restrict result) attribute_hidden;