aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 15:58:09 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 15:59:07 +0200
commit7e01f080e8231ab38b0896a1cc66c660af4b98e9 (patch)
treefdf61d0f50d491d6e24ff4c8de057082092fda00 /time/tzset.c
parenticonv, intl, locale, wcsmbs: Remove internal_function (diff)
downloadglibc-7e01f080e8231ab38b0896a1cc66c660af4b98e9.tar.gz
glibc-7e01f080e8231ab38b0896a1cc66c660af4b98e9.tar.bz2
glibc-7e01f080e8231ab38b0896a1cc66c660af4b98e9.zip
time: Remove the internal_function attribute
Diffstat (limited to 'time/tzset.c')
-rw-r--r--time/tzset.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/time/tzset.c b/time/tzset.c
index cf5fe969b6..b5e95204b8 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -63,7 +63,7 @@ typedef struct
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);
/* List of buffers containing time zone strings. */
@@ -125,7 +125,6 @@ __tzstring (const char *s)
static char *old_tz;
static void
-internal_function
update_vars (void)
{
__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
put it in RULE->change, saving YEAR in RULE->computed_for. */
static void
-internal_function
compute_change (tz_rule *rule, int year)
{
time_t t;
@@ -518,7 +516,6 @@ compute_change (tz_rule *rule, int year)
/* Figure out the correct timezone for TM and set `__tzname',
`__timezone', and `__daylight' accordingly. */
void
-internal_function
__tz_compute (time_t timer, struct tm *tm, int use_localtime)
{
compute_change (&tz_rules[0], 1900 + tm->tm_year);