aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-15 17:52:59 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 15:59:06 +0200
commitd7ccc6c983632f89064e0405e724ca6e9c1b9e1e (patch)
tree2ec4f8e58e1720b3956c193150a081f570730bb6 /time
parentdab0eecef632487f01460900ede02874092c9169 (diff)
downloadglibc-d7ccc6c983632f89064e0405e724ca6e9c1b9e1e.tar
glibc-d7ccc6c983632f89064e0405e724ca6e9c1b9e1e.tar.gz
glibc-d7ccc6c983632f89064e0405e724ca6e9c1b9e1e.tar.bz2
glibc-d7ccc6c983632f89064e0405e724ca6e9c1b9e1e.zip
iconv, intl, locale, wcsmbs: Remove internal_function
Also adjust parts of the time subdirectory.
Diffstat (limited to 'time')
-rw-r--r--time/alt_digit.c3
-rw-r--r--time/era.c4
-rw-r--r--time/lc-time-cleanup.c2
3 files changed, 2 insertions, 7 deletions
diff --git a/time/alt_digit.c b/time/alt_digit.c
index e3bcea4414..7047fa3415 100644
--- a/time/alt_digit.c
+++ b/time/alt_digit.c
@@ -69,7 +69,6 @@ _nl_init_alt_digit (struct __locale_data *current)
}
const char *
-internal_function
_nl_get_alt_digit (unsigned int number, struct __locale_data *current)
{
const char *result;
@@ -95,7 +94,6 @@ _nl_get_alt_digit (unsigned int number, struct __locale_data *current)
const wchar_t *
-internal_function
_nl_get_walt_digit (unsigned int number, struct __locale_data *current)
{
const wchar_t *result = NULL;
@@ -148,7 +146,6 @@ _nl_get_walt_digit (unsigned int number, struct __locale_data *current)
int
-internal_function
_nl_parse_alt_digit (const char **strp, struct __locale_data *current)
{
const char *str = *strp;
diff --git a/time/era.c b/time/era.c
index b5743c621a..934844de31 100644
--- a/time/era.c
+++ b/time/era.c
@@ -35,7 +35,7 @@ __libc_rwlock_define (extern, __libc_setlocale_lock attribute_hidden)
/* Look up the era information in CURRENT's locale strings and
cache it in CURRENT->private. */
-static void internal_function
+static void
_nl_init_era_entries (struct __locale_data *current)
{
size_t cnt;
@@ -139,7 +139,6 @@ _nl_init_era_entries (struct __locale_data *current)
}
struct era_entry *
-internal_function
_nl_get_era_entry (const struct tm *tp, struct __locale_data *current)
{
if (current->private.time == NULL || !current->private.time->era_initialized)
@@ -166,7 +165,6 @@ _nl_get_era_entry (const struct tm *tp, struct __locale_data *current)
struct era_entry *
-internal_function
_nl_select_era_entry (int cnt, struct __locale_data *current)
{
if (current->private.time == NULL || !current->private.time->era_initialized)
diff --git a/time/lc-time-cleanup.c b/time/lc-time-cleanup.c
index 92b5be5818..9db9232575 100644
--- a/time/lc-time-cleanup.c
+++ b/time/lc-time-cleanup.c
@@ -19,7 +19,7 @@
#include "../locale/localeinfo.h"
#include <stdlib.h>
-void internal_function
+void
_nl_cleanup_time (struct __locale_data *locale)
{
struct lc_time_data *const data = locale->private.time;