mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-29 03:00:27 +00:00
[PATCH] Constify COM_CheckExtension
Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
parent
b743cd0fec
commit
dd3d6a5ac6
@ -783,7 +783,7 @@ COM_DefaultExtension(char *path, char *extension)
|
||||
}
|
||||
|
||||
int
|
||||
COM_CheckExtension(char *path, char *extn)
|
||||
COM_CheckExtension(const char *path, const char *extn)
|
||||
{
|
||||
char *pos;
|
||||
int ret = 0;
|
||||
|
@ -142,7 +142,7 @@ char *COM_SkipPath(char *pathname);
|
||||
void COM_StripExtension(char *in, char *out);
|
||||
void COM_FileBase(const char *in, char *out);
|
||||
void COM_DefaultExtension(char *path, char *extension);
|
||||
int COM_CheckExtension(char *path, char *extn);
|
||||
int COM_CheckExtension(const char *path, const char *extn);
|
||||
|
||||
char *va(char *format, ...);
|
||||
|
||||
|
@ -158,7 +158,7 @@ const char *COM_SkipPath(const char *pathname);
|
||||
void COM_StripExtension(const char *in, char *out);
|
||||
void COM_FileBase(const char *in, char *out);
|
||||
void COM_DefaultExtension(char *path, const char *extension);
|
||||
int COM_CheckExtension(char *path, char *extn);
|
||||
int COM_CheckExtension(const char *path, const char *extn);
|
||||
|
||||
char *va(char *format, ...);
|
||||
|
||||
|
@ -890,7 +890,7 @@ COM_DefaultExtension(char *path, const char *extension)
|
||||
}
|
||||
|
||||
int
|
||||
COM_CheckExtension(char *path, char *extn)
|
||||
COM_CheckExtension(const char *path, const char *extn)
|
||||
{
|
||||
char *pos;
|
||||
int ret = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user