In file included from /in/terminal.c:9:0:
/in/terminal.c: In function 'save':
/in/compile/terminal.h:13:17: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
#define RED "\033[31m" /* Red */
^
/in/terminal.c:158:17: note: in expansion of macro 'RED'
fprintf(RED"%s does not exist, save sample.txt by default.\n"RESET,filename);
^~~
In file included from /in/terminal.c:5:0:
/usr/include/stdio.h:312:12: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *'
extern int fprintf (FILE *__restrict __stream,
^~~~~~~
/in/terminal.c:158:9: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(RED"%s does not exist, save sample.txt by default.\n"RESET,filename);
^~~~~~~