From 44792fd5369cfe2ad1478b72bf22b0d1829f291b Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 13 Nov 2024 12:14:12 -0500 Subject: move readFile() out of balls.c --- balls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'balls.h') diff --git a/balls.h b/balls.h index 21d8bc1..f17243b 100644 --- a/balls.h +++ b/balls.h @@ -19,6 +19,8 @@ typedef struct { size_t size; /* Length of cell array. */ } Partition; +int readFile(const char *filename, char **contents, size_t *size); + Partition partitionCollisions(size_t nBalls); void freePartition(Partition part); void printPartition(Partition part); -- cgit v1.2.3