time: Remove the internal_function attribute
This commit is contained in:
parent
d7ccc6c983
commit
7e01f080e8
@ -1,3 +1,10 @@
|
|||||||
|
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* include/time.h (__tz_compute, __strptime_internal): Remove
|
||||||
|
internal_function.
|
||||||
|
* time/strptime_l.c (__strptime_internal): Likewise.
|
||||||
|
* time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
|
||||||
|
|
||||||
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* iconv/gconv.c (__gconv): Remove internal_function.
|
* iconv/gconv.c (__gconv): Remove internal_function.
|
||||||
@ -63,6 +70,8 @@
|
|||||||
* time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
|
* time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
|
||||||
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
|
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
|
||||||
(__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
|
(__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
|
||||||
|
* wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
|
||||||
|
(__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
|
||||||
|
|
||||||
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ extern void __tzfile_default (const char *std, const char *dst,
|
|||||||
long int stdoff, long int dstoff);
|
long int stdoff, long int dstoff);
|
||||||
extern void __tzset_parse_tz (const char *tz);
|
extern void __tzset_parse_tz (const char *tz);
|
||||||
extern void __tz_compute (time_t timer, struct tm *tm, int use_localtime)
|
extern void __tz_compute (time_t timer, struct tm *tm, int use_localtime)
|
||||||
__THROW internal_function;
|
__THROW;
|
||||||
|
|
||||||
/* Subroutine of `mktime'. Return the `time_t' representation of TP and
|
/* Subroutine of `mktime'. Return the `time_t' representation of TP and
|
||||||
normalize TP, given that a `struct tm *' maps to a `time_t' as performed
|
normalize TP, given that a `struct tm *' maps to a `time_t' as performed
|
||||||
@ -89,8 +89,7 @@ extern int __getclktck (void);
|
|||||||
/* strptime support. */
|
/* strptime support. */
|
||||||
extern char * __strptime_internal (const char *rp, const char *fmt,
|
extern char * __strptime_internal (const char *rp, const char *fmt,
|
||||||
struct tm *tm, void *statep,
|
struct tm *tm, void *statep,
|
||||||
locale_t locparam)
|
locale_t locparam);
|
||||||
internal_function;
|
|
||||||
|
|
||||||
extern double __difftime (time_t time1, time_t time0);
|
extern double __difftime (time_t time1, time_t time0);
|
||||||
|
|
||||||
|
@ -231,7 +231,6 @@ day_of_the_year (struct tm *tm)
|
|||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
char *
|
char *
|
||||||
internal_function
|
|
||||||
#else
|
#else
|
||||||
static char *
|
static char *
|
||||||
#endif
|
#endif
|
||||||
|
@ -63,7 +63,7 @@ typedef struct
|
|||||||
static tz_rule tz_rules[2];
|
static tz_rule tz_rules[2];
|
||||||
|
|
||||||
|
|
||||||
static void compute_change (tz_rule *rule, int year) __THROW internal_function;
|
static void compute_change (tz_rule *rule, int year) __THROW;
|
||||||
static void tzset_internal (int always);
|
static void tzset_internal (int always);
|
||||||
|
|
||||||
/* List of buffers containing time zone strings. */
|
/* List of buffers containing time zone strings. */
|
||||||
@ -125,7 +125,6 @@ __tzstring (const char *s)
|
|||||||
static char *old_tz;
|
static char *old_tz;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
internal_function
|
|
||||||
update_vars (void)
|
update_vars (void)
|
||||||
{
|
{
|
||||||
__daylight = tz_rules[0].offset != tz_rules[1].offset;
|
__daylight = tz_rules[0].offset != tz_rules[1].offset;
|
||||||
@ -429,7 +428,6 @@ tzset_internal (int always)
|
|||||||
when the change described by RULE will occur and
|
when the change described by RULE will occur and
|
||||||
put it in RULE->change, saving YEAR in RULE->computed_for. */
|
put it in RULE->change, saving YEAR in RULE->computed_for. */
|
||||||
static void
|
static void
|
||||||
internal_function
|
|
||||||
compute_change (tz_rule *rule, int year)
|
compute_change (tz_rule *rule, int year)
|
||||||
{
|
{
|
||||||
time_t t;
|
time_t t;
|
||||||
@ -518,7 +516,6 @@ compute_change (tz_rule *rule, int year)
|
|||||||
/* Figure out the correct timezone for TM and set `__tzname',
|
/* Figure out the correct timezone for TM and set `__tzname',
|
||||||
`__timezone', and `__daylight' accordingly. */
|
`__timezone', and `__daylight' accordingly. */
|
||||||
void
|
void
|
||||||
internal_function
|
|
||||||
__tz_compute (time_t timer, struct tm *tm, int use_localtime)
|
__tz_compute (time_t timer, struct tm *tm, int use_localtime)
|
||||||
{
|
{
|
||||||
compute_change (&tz_rules[0], 1900 + tm->tm_year);
|
compute_change (&tz_rules[0], 1900 + tm->tm_year);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user