diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-05-24 08:03:11 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-05-24 08:03:11 +0200 |
commit | 800d535504c06f16726f2add8602ee9a36baf808 (patch) | |
tree | fdb95553dc154eae4033f75acb34e29461420ce0 /include | |
parent | 36c1dbaedd90f36397f28a96ae265e11b20fc616 (diff) | |
download | glibc-800d535504c06f16726f2add8602ee9a36baf808.tar.gz glibc-800d535504c06f16726f2add8602ee9a36baf808.tar.xz glibc-800d535504c06f16726f2add8602ee9a36baf808.zip |
stdio-common: Add printf specifier registry to <printf.h>
Add __printf_arginfo_table, __printf_function_table, __printf_va_arg_table, __register_printf_specifier to include/printf.h.
Diffstat (limited to 'include')
-rw-r--r-- | include/printf.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <bits/types/locale_t.h> /* Now define the internal interfaces. */ |