vm: fix signature for safe_fopen.

db4
John Benediktsson 2015-09-30 19:03:39 -07:00
parent 141f3c9e65
commit bd04290187
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ struct factor_vm {
// io
void init_c_io();
void io_error_if_not_EINTR();
FILE* safe_fopen(char* filename, char* mode);
FILE* safe_fopen(char* filename, const char* mode);
int safe_fgetc(FILE* stream);
size_t safe_fread(void* ptr, size_t size, size_t nitems, FILE* stream);
void safe_fputc(int c, FILE* stream);