# HG changeset patch # User Matti Hamalainen # Date 1508958632 -10800 # Node ID eb78997a75747433192e7fab423d04d3fa990830 # Parent 57a3472131fd7b70fc586f55c7cf6d56b9f9b9ff Rename th_printf_altfmt_*() functions to th_vprintf_altfmt_*(). diff -r 57a3472131fd -r eb78997a7574 th_string.c --- 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;