diff options
author | Shav Kinderlehrer <[email protected]> | 2023-04-10 20:14:18 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-04-10 20:14:18 -0400 |
commit | 0e59c5f27cc3badd3e48a87bba39bdac9077e1a5 (patch) | |
tree | b90c2caa254233426b326f6a38011ea15435d840 /include/file.h | |
parent | aeafcc6891913327aa784da5879bdf9b8cf11cc4 (diff) | |
download | lat-0e59c5f27cc3badd3e48a87bba39bdac9077e1a5.tar.gz lat-0e59c5f27cc3badd3e48a87bba39bdac9077e1a5.zip |
Breakup monolithic code
Diffstat (limited to 'include/file.h')
-rw-r--r-- | include/file.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <stdio.h> + +#ifndef FILE_H +#define FILE_H +struct filedata { + int lc; + unsigned len; + char *buf; +}; + +struct filedata readfile(FILE *fp); +#endif |