summaryrefslogtreecommitdiff
path: root/ratio.h
diff options
context:
space:
mode:
authorJulian Weigt <juw@posteo.de>2025-12-23 17:14:54 +0000
committerJulian Weigt <juw@posteo.de>2026-02-04 15:55:46 +0100
commitb43f9d38196080333680681766b6f23f024c0cb0 (patch)
treec82c1b8eecc5c5a1434e58f910e25203b305c6dc /ratio.h
parentedcded21cbeb272ff206a92c693ab21bf33ebae6 (diff)
Reorganize mallocs to get ready for multithreading.
Diffstat (limited to 'ratio.h')
-rw-r--r--ratio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratio.h b/ratio.h
index bd6a1c7..cf04c6c 100644
--- a/ratio.h
+++ b/ratio.h
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <math.h>
-typedef struct {bool s; unsigned long long n; unsigned long long d}rational;
+typedef struct {bool s; unsigned long long n; unsigned long long d;} rational;
rational convert_int(int);