summary refs log tree commit diff
path: root/src/utils.c
diff options
context:
space:
mode:
authorNakidai <plaza521@inbox.ru>2024-08-23 20:43:31 +0300
committerNakidai <plaza521@inbox.ru>2024-08-23 20:43:31 +0300
commit2b0e05cbc1e4d9beccd3a5867c8730880f6ecc10 (patch)
treef0e5e31e6259e0b6ea940c1d4c394b976a4bac74 /src/utils.c
parent9e4058194742794f7742f19cb1a0bb3451ce22ea (diff)
download3cl-2b0e05cbc1e4d9beccd3a5867c8730880f6ecc10.tar.gz
3cl-2b0e05cbc1e4d9beccd3a5867c8730880f6ecc10.zip
Start to rewriting code
Since there's some UB in the master I decided to rewrite code from
scratch again. I hope that attempt will be better :D
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/utils.c b/src/utils.c
index 978396c..ba5638f 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,6 +1,3 @@
-#include "utils.h"
-#include "types.h"
-
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -9,7 +6,7 @@
 #include "main.h"
 
 
-noreturn void die(i32 code, s8 *fmt, ...)
+noreturn void die(int code, char *fmt, ...)
 {
     va_list args;