aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/reg-printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/reg-printf.c')
-rw-r--r--stdio-common/reg-printf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdio-common/reg-printf.c b/stdio-common/reg-printf.c
index 3ec81e6..0d14ac6 100644
--- a/stdio-common/reg-printf.c
+++ b/stdio-common/reg-printf.c
@@ -21,11 +21,11 @@
#include <stddef.h>
#include <stdlib.h>
#include <libc-lock.h>
+#include <set-freeres.h>
/* Array of functions indexed by format character. */
-libc_freeres_ptr (printf_arginfo_size_function **__printf_arginfo_table)
- attribute_hidden;
+printf_arginfo_size_function **__printf_arginfo_table attribute_hidden;
printf_function **__printf_function_table attribute_hidden;
__libc_lock_define_initialized (static, lock)
@@ -79,3 +79,5 @@ __register_printf_function (int spec, printf_function converter,
(printf_arginfo_size_function*) arginfo);
}
weak_alias (__register_printf_function, register_printf_function)
+
+weak_alias (__printf_arginfo_table, __libc_reg_printf_freemem_ptr)