diff options
Diffstat (limited to 'build.c')
-rwxr-xr-x | build.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -130,11 +130,11 @@ c8 *fmt(c8 const *format, ...) { return result; } -void make_fmt_v(c8 const *format, va_list args) { +void fmt_dup_v(c8 const *format, va_list args) { vsprintf(_strings[_string_index], format, args); } -c8 *make_fmt(c8 const *format, ...) { +c8 *fmt_dup(c8 const *format, ...) { va_list args; va_start(args, format); assert(_string_index < STRING_COUNT); @@ -413,9 +413,9 @@ i32 main(i32 argc, c8 **argv) { ""; if (extra_options[0] != '\0') - flags = make_fmt("%s %s", extra_options, flags); + flags = fmt_dup("%s %s", extra_options, flags); if (extra_link_options[0] != '\0') - link_flags = make_fmt("%s %s", extra_link_options, link_flags); + link_flags = fmt_dup("%s %s", extra_link_options, link_flags); // Prepare destination folder // |