wad: Make W_OpenFile parameters const

This commit is contained in:
Turo Lamminen 2018-07-21 16:40:35 +03:00
parent a934b69f22
commit a2b9c9c5d3
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ static wad_file_class_t *wad_file_classes[] =
&stdc_wad_file,
};
wad_file_t *W_OpenFile(char *path)
wad_file_t *W_OpenFile(const char *path)
{
wad_file_t *result;
int i;

View file

@ -58,7 +58,7 @@ struct _wad_file_s
// Open the specified file. Returns a pointer to a new wad_file_t
// handle for the WAD file, or NULL if it could not be opened.
wad_file_t *W_OpenFile(char *path);
wad_file_t *W_OpenFile(const char *path);
// Close the specified WAD file.