Mercurial > hg > th-libs
changeset 449:eb78997a7574
Rename th_printf_altfmt_*() functions to th_vprintf_altfmt_*().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Oct 2017 22:10:32 +0300 |
parents | 57a3472131fd |
children | 051226a06f70 |
files | th_string.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/th_string.c Wed Oct 25 21:47:30 2017 +0300 +++ b/th_string.c Wed Oct 25 22:10:32 2017 +0300 @@ -363,7 +363,7 @@ #endif -static char * th_printf_altfmt_oct(const char *buf, const size_t len, const int vret, const int flags) +static char * th_vprintf_altfmt_oct(const char *buf, const size_t len, const int vret, const int flags) { (void) vret; (void) flags; @@ -372,7 +372,7 @@ } -static char * th_printf_altfmt_hex(const char *buf, const size_t len, const int vret, const int flags) +static char * th_vprintf_altfmt_hex(const char *buf, const size_t len, const int vret, const int flags) { (void) buf; (void) vret; @@ -515,7 +515,7 @@ break; case 'o': - if ((ret = th_vprintf_put_int(ctx, vputch, ap, 8, f_flags, f_width, f_prec, TRUE, th_printf_altfmt_oct)) == EOF) + if ((ret = th_vprintf_put_int(ctx, vputch, ap, 8, f_flags, f_width, f_prec, TRUE, th_vprintf_altfmt_oct)) == EOF) goto out; break; @@ -530,7 +530,7 @@ case 'X': if (*fmt == 'X') f_flags |= TH_PF_UPCASE; - if ((ret = th_vprintf_put_int(ctx, vputch, ap, 16, f_flags, f_width, f_prec, TRUE, th_printf_altfmt_hex)) == EOF) + if ((ret = th_vprintf_put_int(ctx, vputch, ap, 16, f_flags, f_width, f_prec, TRUE, th_vprintf_altfmt_hex)) == EOF) goto out; break; @@ -544,7 +544,7 @@ f_flags |= TH_PF_LONGLONG; #endif f_flags |= TH_PF_ALT | TH_PF_POINTER; - if ((ret = th_vprintf_put_int(ctx, vputch, ap, 16, f_flags, f_width, f_prec, TRUE, th_printf_altfmt_hex)) == EOF) + if ((ret = th_vprintf_put_int(ctx, vputch, ap, 16, f_flags, f_width, f_prec, TRUE, th_vprintf_altfmt_hex)) == EOF) goto out; break;