diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 12:22:50 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 12:22:50 +0000 |
commit | e7064847bafe6bbfabcccc0cb5aef9170f6452eb (patch) | |
tree | 7d716287fb79f03bbbf1f8426b0e1aa1fad00a50 /lib/libc/regex | |
parent | edac0815c08a40a6076d7c53eb2acbf5ebf42ec3 (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.c | 3 |
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); |