diff --git a/include/extern.h b/include/extern.h index ae6dab2ad..dcdffdbd5 100644 --- a/include/extern.h +++ b/include/extern.h @@ -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 ### */ diff --git a/sys/share/cppregex.cpp b/sys/share/cppregex.cpp index 4da1528c6..ca7d7978f 100644 --- a/sys/share/cppregex.cpp +++ b/sys/share/cppregex.cpp @@ -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; - } -} - diff --git a/sys/share/pmatchregex.c b/sys/share/pmatchregex.c index 289fb51fb..d04fdacc1 100644 --- a/sys/share/pmatchregex.c +++ b/sys/share/pmatchregex.c @@ -65,9 +65,3 @@ regex_free(struct nhregex *re) free((genericptr_t) re); } } - -void -regex_at_exit(void) -{ -} - diff --git a/sys/share/posixregex.c b/sys/share/posixregex.c index 4000364ba..37f16ada9 100644 --- a/sys/share/posixregex.c +++ b/sys/share/posixregex.c @@ -104,9 +104,3 @@ regex_free(struct nhregex *re) regfree(&re->re); free(re); } - -void -regex_at_exit(void) -{ -} -