summaryrefslogtreecommitdiff
path: root/charf.c
diff options
context:
space:
mode:
authorJulian Weigt <juw@posteo.de>2026-01-16 13:41:52 +0100
committerJulian Weigt <juw@posteo.de>2026-02-04 15:55:53 +0100
commit8145ba753df183f0d48cd6e9cc5a01b215eb31dc (patch)
tree6ab91cd3774bb42d55c196db26387f67bf082da3 /charf.c
parent5c0dc646b78e2d7ef25088ac78397e2ed613cba1 (diff)
Properly use header files and change return type for conversion from bool to int.
Diffstat (limited to 'charf.c')
-rw-r--r--charf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/charf.c b/charf.c
index 266ed5a..7f4f2af 100644
--- a/charf.c
+++ b/charf.c
@@ -1,9 +1,10 @@
-#include <stdio.h>
#include <stdlib.h>
+#include <stdio.h>
#include <math.h>
//for multithreading
#include <pthread.h>
#include <stdbool.h>
+#include <string.h>
//getLine
#include "misc.h"