From 800d535504c06f16726f2add8602ee9a36baf808 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 24 May 2022 08:03:11 +0200 Subject: stdio-common: Add printf specifier registry to Add __printf_arginfo_table, __printf_function_table, __printf_va_arg_table, __register_printf_specifier to include/printf.h. --- include/printf.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/printf.h b/include/printf.h index 0ed6e87387..fb0b71fa4c 100644 --- a/include/printf.h +++ b/include/printf.h @@ -12,6 +12,14 @@ # ifndef _ISOMAC +/* Internal interfaces for registered specifiers. */ +extern printf_arginfo_size_function **__printf_arginfo_table attribute_hidden; +extern printf_function **__printf_function_table attribute_hidden; +extern printf_va_arg_function **__printf_va_arg_table attribute_hidden; +int __register_printf_specifier (int, printf_function, + printf_arginfo_size_function); +libc_hidden_proto (__register_printf_specifier) + #include /* Now define the internal interfaces. */ -- cgit 1.4.1