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:
@@ -95,7 +95,7 @@ static struct allopt_t allopt[SIZE(allopt_init)];
|
|||||||
/* use rest of file */
|
/* use rest of file */
|
||||||
|
|
||||||
extern char configfile[]; /* for messages */
|
extern char configfile[]; /* for messages */
|
||||||
extern struct symparse loadsyms[];
|
extern const struct symparse loadsyms[];
|
||||||
#if defined(TOS) && defined(TEXTCOLOR)
|
#if defined(TOS) && defined(TEXTCOLOR)
|
||||||
extern boolean colors_changed; /* in tos.c */
|
extern boolean colors_changed; /* in tos.c */
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ regex_compile(const char *s, struct nhregex *re)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
char *
|
||||||
regex_error_desc(struct nhregex *re UNUSED, char *errbuf)
|
regex_error_desc(struct nhregex *re UNUSED, char *errbuf)
|
||||||
{
|
{
|
||||||
return strcpy(errbuf, "pattern match compilation error");
|
return strcpy(errbuf, "pattern match compilation error");
|
||||||
|
|||||||
Reference in New Issue
Block a user