mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-16 06:11:15 +00:00
[libs] Fix some c23 build errors for mxe
This commit is contained in:
parent
c467d2f9b8
commit
3a38560ceb
3 changed files with 3 additions and 14 deletions
|
@ -4619,8 +4619,7 @@ re_compile_pattern (
|
|||
static struct re_pattern_buffer re_comp_buf;
|
||||
|
||||
const char *
|
||||
re_comp (s)
|
||||
const char *s;
|
||||
re_comp (const char *s)
|
||||
{
|
||||
reg_errcode_t ret;
|
||||
|
||||
|
@ -4657,8 +4656,7 @@ re_comp (s)
|
|||
|
||||
|
||||
int
|
||||
re_exec (s)
|
||||
const char *s;
|
||||
re_exec (const char *s)
|
||||
{
|
||||
const int len = strlen (s);
|
||||
return
|
||||
|
|
|
@ -548,12 +548,6 @@ PF_charcount (progs_t *pr, void *data)
|
|||
R_FLOAT (pr) = count;
|
||||
}
|
||||
|
||||
#if (INT_MAX == 2147483647) && (INT_MIN == -2147483648)
|
||||
# define INT_WIDTH 11
|
||||
#else /* I hope... */
|
||||
# define INT_WIDTH 20
|
||||
#endif
|
||||
|
||||
/*
|
||||
string () gametype
|
||||
*/
|
||||
|
|
|
@ -54,10 +54,7 @@
|
|||
/* Match STRING against the filename pattern PATTERN, returning zero if
|
||||
it matches, nonzero if not. */
|
||||
int
|
||||
fnmatch (pattern, string, flags)
|
||||
const char *pattern;
|
||||
const char *string;
|
||||
int flags;
|
||||
fnmatch (const char *pattern, const char *string, int flags)
|
||||
{
|
||||
register const char *p = pattern, *n = string;
|
||||
register unsigned char c;
|
||||
|
|
Loading…
Reference in a new issue