X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=common.h;h=cfff75b3400bdfd98a5728d3823be24cf4d89103;hb=2df77fd4ec15782a38c4ed2f94c3654bbb6e48cc;hp=e452e2e0f4496eab08cb795fc1d42d4ba977a68b;hpb=9e279d8ea4a631713d98132cd1b01338e81f5c0b;p=xonotic%2Fdarkplaces.git diff --git a/common.h b/common.h index e452e2e0..cfff75b3 100644 --- a/common.h +++ b/common.h @@ -246,7 +246,6 @@ typedef enum gamemode_e GAME_TEU, GAME_BATTLEMECH, GAME_ZYMOTIC, - GAME_FNIGGIUM, GAME_SETHERAL, GAME_SOM, GAME_TENEBRAE, // full of evil hackery @@ -279,7 +278,7 @@ typedef struct stringlist_s char *text; } stringlist_t; -int matchpattern(char *in, char *pattern, int caseinsensitive); +int matchpattern(const char *in, const char *pattern, int caseinsensitive); stringlist_t *stringlistappend(stringlist_t *current, char *text); void stringlistfree(stringlist_t *current); stringlist_t *stringlistsort(stringlist_t *start);