diff th_string.h @ 374:1d8ae82304ec

Rename s/th_printf_ctx/th_vprintf_cts/g.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 29 Feb 2016 16:12:10 +0200
parents 22fb23dc8c9b
children 1b3472ba7b23
line wrap: on
line diff
--- a/th_string.h	Mon Feb 29 15:49:07 2016 +0200
+++ b/th_string.h	Mon Feb 29 16:12:10 2016 +0200
@@ -72,10 +72,10 @@
     size_t size, pos;
     int ipos;
     void *data;
-} th_printf_ctx;
+} th_vprintf_ctx;
 
 
-typedef int (*th_vprintf_putch)(th_printf_ctx *ctx, const char ch);
+typedef int (*th_vprintf_putch)(th_vprintf_ctx *ctx, const char ch);
 
 
 /* Normal NUL-terminated string functions
@@ -90,7 +90,7 @@
 char    *th_strrcasecmp(char *haystack, const char *needle);
 void    th_strip_ctrlchars(char *str);
 
-int     th_vprintf_do(th_printf_ctx *ctx, th_vprintf_putch vputch, const char *fmt, va_list ap);
+int     th_vprintf_do(th_vprintf_ctx *ctx, th_vprintf_putch vputch, const char *fmt, va_list ap);
 int     th_vsnprintf(char *buf, size_t size, const char *fmt, va_list ap);
 int     th_snprintf(char *buf, size_t size, const char *fmt, ...);
 int     th_vfprintf(FILE *fh, const char *fmt, va_list ap);