]> git.ipfire.org Git - thirdparty/glibc.git/commit - stdlib/strfmon_l.c
Hide internal printf functions [BZ #18822/21986]
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 22 Aug 2017 14:47:34 +0000 (07:47 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 22 Aug 2017 14:50:57 +0000 (07:50 -0700)
commit20962acbea349b372311a727621c860006be3fab
tree4081bbaec7c838701452164cf6b0bfa2b8f70b43
parenta16e8bc08edca84d507715c66d6cddbbc7ed3b62
Hide internal printf functions [BZ #18822/21986]

Hide internal printf functions to allow direct access within libc.so and
libc.a without using GOT nor PLT.

Since __guess_grouping has been changed to take 2 arguments by

commit a1d84548c8aa7023cd039c85f81b831eef6d4a4c
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Fri Feb 11 18:50:36 2000 +0000

the third argument passed to __guess_grouping is removed.

[BZ #18822]
[BZ #21986]
* include/printf.h (__printf_fphex): Add attribute_hidden.
(__guess_grouping): New prototype.
* stdio-common/printf_fp.c (__guess_grouping): Removed.
* stdio-common/reg-printf.c (__register_printf_specifier): Add
libc_hidden_proto and libc_hidden_def.
* stdlib/strfmon_l.c (__guess_grouping): Removed.
(__vstrfmon_l): Remove the third argument passed to
__guess_grouping.
ChangeLog
include/printf.h
stdio-common/printf_fp.c
stdio-common/reg-printf.c
stdlib/strfmon_l.c