about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)
 {