summaryrefslogtreecommitdiff
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-14 12:22:50 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-14 12:22:50 +0000
commite7064847bafe6bbfabcccc0cb5aef9170f6452eb (patch)
tree7d716287fb79f03bbbf1f8426b0e1aa1fad00a50 /lib/libc/regex
parentedac0815c08a40a6076d7c53eb2acbf5ebf42ec3 (diff)
Wrap <langinfo.h> and <regexp.h> so internal calls go direct and
the symbols are weak
Diffstat (limited to 'lib/libc/regex')
-rw-r--r--lib/libc/regex/regfree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/regex/regfree.c b/lib/libc/regex/regfree.c
index 42506cec7fc..82f506ab826 100644
--- a/lib/libc/regex/regfree.c
+++ b/lib/libc/regex/regfree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: regfree.c,v 1.8 2013/04/17 17:39:29 tedu Exp $ */
+/* $OpenBSD: regfree.c,v 1.9 2015/09/14 12:22:49 guenther Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994 Henry Spencer.
* Copyright (c) 1992, 1993, 1994
@@ -70,3 +70,4 @@ regfree(regex_t *preg)
free(g->must);
free((char *)g);
}
+DEF_WEAK(regfree);