1.1 --- a/src/printf.c Sat Jan 13 17:51:42 2024 +0100 1.2 +++ b/src/printf.c Sun Jan 14 13:13:12 2024 +0100 1.3 @@ -34,6 +34,7 @@ 1.4 #ifndef CX_PRINTF_SBO_SIZE 1.5 #define CX_PRINTF_SBO_SIZE 512 1.6 #endif 1.7 +unsigned const cx_printf_sbo_size = CX_PRINTF_SBO_SIZE; 1.8 1.9 int cx_fprintf( 1.10 void *stream, 1.11 @@ -85,9 +86,8 @@ 1.12 ... 1.13 ) { 1.14 va_list ap; 1.15 - cxmutstr ret; 1.16 va_start(ap, fmt); 1.17 - ret = cx_vasprintf_a(allocator, fmt, ap); 1.18 + cxmutstr ret = cx_vasprintf_a(allocator, fmt, ap); 1.19 va_end(ap); 1.20 return ret; 1.21 }