aboutsummaryrefslogtreecommitdiff
path: root/builtins
diff options
context:
space:
mode:
Diffstat (limited to 'builtins')
-rw-r--r--builtins/util.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/builtins/util.h b/builtins/util.h
index 01f9b269..568e2cf0 100644
--- a/builtins/util.h
+++ b/builtins/util.h
@@ -37,12 +37,6 @@
extern bool USE_COLOR;
-__attribute__((format(printf, 1, 2)))
-char *heap_strf(const char *fmt, ...);
-__attribute__((format(printf, 1, 2)))
-CORD CORD_asprintf(CORD fmt, ...);
-CORD CORD_quoted(CORD str);
-CORD CORD_replace(CORD c, CORD to_replace, CORD replacement);
#define CORD_appendf(cord, fmt, ...) CORD_sprintf(cord, "%r" fmt, *(cord) __VA_OPT__(,) __VA_ARGS__)
#define CORD_all(...) CORD_catn(sizeof((CORD[]){__VA_ARGS__})/sizeof(CORD), __VA_ARGS__)
@@ -70,5 +64,11 @@ CORD CORD_replace(CORD c, CORD to_replace, CORD replacement);
} \
mapped; })
+__attribute__((format(printf, 1, 2)))
+char *heap_strf(const char *fmt, ...);
+__attribute__((format(printf, 1, 2)))
+CORD CORD_asprintf(CORD fmt, ...);
+CORD CORD_quoted(CORD str);
+CORD CORD_replace(CORD c, CORD to_replace, CORD replacement);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0