reformat file

Wed, 01 Feb 2023 18:07:16 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 01 Feb 2023 18:07:16 +0100
changeset 644
fcaa0891ef28
parent 643
5700ba9154ab
child 645
ec50abb285ad

reformat file

src/printf.c file | annotate | diff | comparison | revisions
--- a/src/printf.c	Wed Feb 01 18:06:50 2023 +0100
+++ b/src/printf.c	Wed Feb 01 18:07:16 2023 +0100
@@ -49,7 +49,12 @@
     return ret;
 }
 
-int cx_vfprintf(void *stream, cx_write_func wfc, char const *fmt, va_list ap) {
+int cx_vfprintf(
+        void *stream,
+        cx_write_func wfc,
+        char const *fmt,
+        va_list ap
+) {
     char buf[CX_PRINTF_SBO_SIZE];
     va_list ap2;
     va_copy(ap2, ap);
@@ -74,7 +79,11 @@
     return ret;
 }
 
-cxmutstr cx_asprintf_a(CxAllocator *allocator, char const *fmt, ...) {
+cxmutstr cx_asprintf_a(
+        CxAllocator *allocator,
+        char const *fmt,
+        ...
+) {
     va_list ap;
     cxmutstr ret;
     va_start(ap, fmt);
@@ -83,7 +92,11 @@
     return ret;
 }
 
-cxmutstr cx_vasprintf_a(CxAllocator *a, char const *fmt, va_list ap) {
+cxmutstr cx_vasprintf_a(
+        CxAllocator *a,
+        char const *fmt,
+        va_list ap
+) {
     cxmutstr s;
     s.ptr = NULL;
     s.length = 0;

mercurial