From cb116a189f04943562e7e464088ba421be7f4088 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sat, 8 Jun 2024 21:14:45 +0200 Subject: Remove LICENSE; Cleanup --- build.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build.c') diff --git a/build.c b/build.c index 225a207..ea04495 100755 --- a/build.c +++ b/build.c @@ -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 // -- cgit v1.2.3