Revert "follow-up 3"

This reverts commit cd57dfa5ff.
This commit is contained in:
nhmall
2022-06-30 22:36:45 -04:00
parent e2b77e51ad
commit 43941afe19
4 changed files with 0 additions and 23 deletions

View File

@@ -1832,7 +1832,6 @@ extern boolean regex_compile(const char *, struct nhregex *);
extern const char *regex_error_desc(struct nhregex *);
extern boolean regex_match(const char *, struct nhregex *);
extern void regex_free(struct nhregex *);
extern void regex_at_exit(void);
/* ### consoletty.c ### */

View File

@@ -63,13 +63,3 @@ extern "C" {
delete re;
}
}
void
regex_at_exit(void)
{
if (cppregex_static_buffer != 0) {
free((genericptr_t) cppregex_static_buffer);
cppregex_static_buffer = (char *) 0;
}
}

View File

@@ -65,9 +65,3 @@ regex_free(struct nhregex *re)
free((genericptr_t) re);
}
}
void
regex_at_exit(void)
{
}

View File

@@ -104,9 +104,3 @@ regex_free(struct nhregex *re)
regfree(&re->re);
free(re);
}
void
regex_at_exit(void)
{
}