aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/utils.c b/utils.c
index bbb6b11..313fc13 100644
--- a/utils.c
+++ b/utils.c
@@ -497,19 +497,3 @@ new_proxy(void)
p->protocols = TLS_PROTOCOLS_DEFAULT;
return p;
}
-
-/*
- * I can't rant enough about this situation. As far as I've understood,
- * OpenBSD introduced strnvis(3) with a signature, then NetBSD did it but
- * with a incompatible signature. FreeBSD followed NetBSD. libbsd followed
- * OpenBSD but now is thinking to switch. WTF?
- */
-int
-gmid_strnvis(char *dst, const char *src, size_t destsize, int flag)
-{
-#if HAVE_BROKEN_STRNVIS
- return strnvis(dst, destsize, src, flag);
-#else
- return strnvis(dst, src, destsize, flag);
-#endif
-}