2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

filesystem: add missing const to 2nd argument of stringlistappend

This commit is contained in:
Alibek Omarov 2023-11-03 16:23:52 +03:00
parent 6426919cb5
commit 0d37244490
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ void stringlistfreecontents( stringlist_t *list )
list->strings = NULL;
}
void stringlistappend( stringlist_t *list, char *text )
void stringlistappend( stringlist_t *list, const char *text )
{
size_t textlen;

View File

@ -191,7 +191,7 @@ qboolean MD5_HashFile( byte digest[16], const char *pszFileName, uint seed[4] );
// stringlist ops
void stringlistinit( stringlist_t *list );
void stringlistfreecontents( stringlist_t *list );
void stringlistappend( stringlist_t *list, char *text );
void stringlistappend( stringlist_t *list, const char *text );
void stringlistsort( stringlist_t *list );
void listdirectory( stringlist_t *list, const char *path );