summaryrefslogtreecommitdiff
path: root/intl/localealias.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index 3261d176a4..09e7894002 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -1,5 +1,5 @@
/* Handle aliases for locale names.
- Copyright (C) 1995-2016 Free Software Foundation, Inc.
+ Copyright (C) 1995-2018 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@ -88,13 +88,9 @@ char *alloca ();
# include "lock.h"
#endif
-#ifndef internal_function
-# define internal_function
-#endif
-
/* Some optimizations for glibc. */
#ifdef _LIBC
-# define FEOF(fp) feof_unlocked (fp)
+# define FEOF(fp) __feof_unlocked (fp)
# define FGETS(buf, n, fp) __fgets_unlocked (buf, n, fp)
#else
# define FEOF(fp) feof (fp)
@@ -143,8 +139,7 @@ static size_t maxmap;
/* Prototypes for local functions. */
-static size_t read_alias_file (const char *fname, int fname_len)
- internal_function;
+static size_t read_alias_file (const char *fname, int fname_len);
static int extend_alias_table (void);
static int alias_compare (const struct alias_map *map1,
const struct alias_map *map2);
@@ -212,7 +207,6 @@ _nl_expand_alias (const char *name)
static size_t
-internal_function
read_alias_file (const char *fname, int fname_len)
{
FILE *fp;