From 0e59c5f27cc3badd3e48a87bba39bdac9077e1a5 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Mon, 10 Apr 2023 20:14:18 -0400 Subject: Breakup monolithic code --- include/file.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/file.h (limited to 'include/file.h') diff --git a/include/file.h b/include/file.h new file mode 100644 index 0000000..0d2e791 --- /dev/null +++ b/include/file.h @@ -0,0 +1,12 @@ +#include + +#ifndef FILE_H +#define FILE_H +struct filedata { + int lc; + unsigned len; + char *buf; +}; + +struct filedata readfile(FILE *fp); +#endif -- cgit v1.2.3