add basic math functions

This commit is contained in:
2021-12-10 14:33:37 -08:00
parent 12363f0ed6
commit 6737c3a781
5 changed files with 39 additions and 2 deletions

View File

@ -36,7 +36,7 @@ char *get_input(const char *path) {
return buf;
}
char **split(const char *s, size_t *lsz, const char *delim) {
char **split(char *s, size_t *lsz, const char *delim) {
char **lines = NULL;
char *t = strtok(s, delim);
size_t n = 0;