X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=opts.c;h=38386f25e0d38cef431c1f4bb6a4ee26d255b0a3;hp=e6ca420bb4a0b18ca41a1be97b12e237fc4f333b;hb=6db2e69f9a9411f4d5cb6923b1ead3706d7fe195;hpb=82fd7fcf68761d3a703a27ae8f49308a6d56ba2b diff --git a/opts.c b/opts.c index e6ca420..38386f2 100644 --- a/opts.c +++ b/opts.c @@ -23,7 +23,6 @@ */ #include #include -#include #include "gmqcc.h" @@ -163,13 +162,13 @@ void opts_setoptimlevel(unsigned int level) { */ static char *opts_ini_rstrip(char *s) { char *p = s + strlen(s); - while(p > s && isspace(*--p)) + while(p > s && util_isspace(*--p)) *p = '\0'; return s; } static char *opts_ini_lskip(const char *s) { - while (*s && isspace(*s)) + while (*s && util_isspace(*s)) s++; return (char*)s; } @@ -177,7 +176,7 @@ static char *opts_ini_lskip(const char *s) { static char *opts_ini_next(const char *s, char c) { bool last = false; while (*s && *s != c && !(last && *s == ';')) - last = !!isspace(*s), s++; + last = !!util_isspace(*s), s++; return (char*)s; }