a couple of inconsistencies

make pmatchregex regex_error_desc return type match cppregex.cpp and
posixregex.c

make the extern declaration for loadsyms[] in options.c match the
one in symbols.c.
This commit is contained in:
nhmall
2022-09-14 20:23:48 -04:00
parent c2a9343367
commit 1c177dcb39
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ regex_compile(const char *s, struct nhregex *re)
return TRUE;
}
const char *
char *
regex_error_desc(struct nhregex *re UNUSED, char *errbuf)
{
return strcpy(errbuf, "pattern match compilation error");