diff options
author | 2013-12-04 22:58:24 +0000 | |
---|---|---|
committer | 2013-12-04 22:58:24 +0000 | |
commit | 6c13836a7e8fce6a8ce3df6941d10decd95f2f38 (patch) | |
tree | 63b272f909cbe30b0098793a9f87ea001daa4f7e /lib/libcompat/regexp/regerror.c | |
parent | When we receive a /32 IP address assignment, mimick ISC DHCP by adding (diff) | |
download | wireguard-openbsd-6c13836a7e8fce6a8ce3df6941d10decd95f2f38.tar.xz wireguard-openbsd-6c13836a7e8fce6a8ce3df6941d10decd95f2f38.zip |
express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]
Diffstat (limited to 'lib/libcompat/regexp/regerror.c')
-rw-r--r-- | lib/libcompat/regexp/regerror.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/libcompat/regexp/regerror.c b/lib/libcompat/regexp/regerror.c deleted file mode 100644 index 86dd12fa6f5..00000000000 --- a/lib/libcompat/regexp/regerror.c +++ /dev/null @@ -1,22 +0,0 @@ -/* $OpenBSD: regerror.c,v 1.7 2009/10/27 23:59:28 deraadt Exp $ */ -#include <err.h> -#include <regexp.h> -#include <stdio.h> - -static void (*_new_regerror)(const char *) = NULL; - -void -v8_regerror(const char *s) -{ - if (_new_regerror != NULL) - _new_regerror(s); - else - warnx("%s", s); - return; -} - -void -v8_setregerror(void (*f)(const char *)) -{ - _new_regerror = f; -} |