# HG changeset patch # User Matti Hamalainen # Date 1455631244 -7200 # Node ID 334adfa3f646f6b09078c78dee66c9aaee7d67c7 # Parent 507defb0cb617922f52631dc3623c3c96b1f390e Function argument list split & indentation cosmetic. diff -r 507defb0cb61 -r 334adfa3f646 th_string.c --- a/th_string.c Tue Feb 16 15:59:43 2016 +0200 +++ b/th_string.c Tue Feb 16 16:00:44 2016 +0200 @@ -108,9 +108,12 @@ } -/* Simple implementations of printf() type functions - */ -static int th_vput_itoa(void *ctx, int (*vputch)(void *ctx, const char ch), int val, int radix, char padMode, int width, BOOL unsig, BOOL upcase, BOOL sign) +// +// Simple implementations of printf() type functions +// +static int th_vput_itoa(void *ctx, int (*vputch)(void *ctx, const char ch), + int val, const int radix, const char padMode, const int width, + const BOOL unsig, const BOOL upcase, const BOOL sign) { char buf[64]; size_t pos = 0; @@ -188,7 +191,8 @@ } -static int th_vput_str(void *ctx, int (*vputch)(void *ctx, const char ch), const char *str, char padMode, int width) +static int th_vput_str(void *ctx, int (*vputch)(void *ctx, const char ch), + const char *str, const char padMode, const int width) { int nwidth = width - strlen(str); int ret = 0;