diff --git a/src/parse.c b/src/parse.c index 3448a3a..a884e45 100644 --- a/src/parse.c +++ b/src/parse.c @@ -71,7 +71,7 @@ char readEmkFile() { char includeConfig() { char cwd[PATH_MAX]; - file *emkconfig, *emkfile, *emkfile_new; + FILE *emkconfig, *emkfile, *emkfile_new; char filename[100], contents; emkconfig = fopen(EMKCONFIG, "r"); @@ -87,7 +87,7 @@ char includeConfig() { } /* write emkfile to new emkfile */ - contents = fgetc(emkfile): + contents = fgetc(emkfile); while (contents != EOF) { fputc(contents, emkfile_new); contents = fgetc(emkfile);