aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 18:30:02 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 18:52:00 +0200
commit2fa6d086d15f15f2fde50bcac5f552f652d3ef36 (patch)
tree8fe5c9b71a86d1d42d577729bc1295bfb5bc4972
parentb41bd5bc83b23f62f6f0815d20ed1e1185c58086 (diff)
downloadglibc-2fa6d086d15f15f2fde50bcac5f552f652d3ef36.tar
glibc-2fa6d086d15f15f2fde50bcac5f552f652d3ef36.tar.gz
glibc-2fa6d086d15f15f2fde50bcac5f552f652d3ef36.tar.bz2
glibc-2fa6d086d15f15f2fde50bcac5f552f652d3ef36.zip
stdio-common: Remove internal_function attribute
-rw-r--r--ChangeLog6
-rw-r--r--stdio-common/printf_fp.c4
-rw-r--r--stdio-common/vfprintf.c3
3 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ca31d04f4..afeb02f733 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2017-08-31 Florian Weimer <fweimer@redhat.com>
+ * stdio-common/printf_fp.c (group_number): Remove
+ internal_function.
+ * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
+
+2017-08-31 Florian Weimer <fweimer@redhat.com>
+
* posix/fnmatch.c (internal_function): Remove definition.
* posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
* posix/regcomp.c (peek_token, init_word_char)
diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
index 2633a02cc5..994497cd22 100644
--- a/stdio-common/printf_fp.c
+++ b/stdio-common/printf_fp.c
@@ -143,8 +143,7 @@ extern mp_size_t __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
static wchar_t *group_number (wchar_t *buf, wchar_t *bufend,
unsigned int intdig_no, const char *grouping,
- wchar_t thousands_sep, int ngroups)
- internal_function;
+ wchar_t thousands_sep, int ngroups);
struct hack_digit_param
{
@@ -1319,7 +1318,6 @@ __guess_grouping (unsigned int intdig_max, const char *grouping)
Return the new end of buffer. */
static wchar_t *
-internal_function
group_number (wchar_t *buf, wchar_t *bufend, unsigned int intdig_no,
const char *grouping, wchar_t thousands_sep, int ngroups)
{
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index 089bcefaf9..23d2679f39 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -1220,7 +1220,7 @@ static const uint8_t jump_table[] =
/* Helper function to provide temporary buffering for unbuffered streams. */
static int buffered_vfprintf (FILE *stream, const CHAR_T *fmt, va_list)
- __THROW __attribute__ ((noinline)) internal_function;
+ __THROW __attribute__ ((noinline));
/* Handle positional format specifiers. */
static int printf_positional (_IO_FILE *s,
@@ -2291,7 +2291,6 @@ static const struct _IO_jump_t _IO_helper_jumps libio_vtable =
#endif
static int
-internal_function
buffered_vfprintf (_IO_FILE *s, const CHAR_T *format,
_IO_va_list args)
{