summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_comp.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2016-05-01 15:17:29 +0000
committermillert <millert@openbsd.org>2016-05-01 15:17:29 +0000
commitf984146cc23e8bf73ffde6b590d2d480edc87b5e (patch)
tree466a5a49410d6af4f54f324cc518bcbb8439de90 /lib/libc/net/res_comp.c
parentExact match use and name with strcmp rather than prefix with strncmp. (diff)
downloadwireguard-openbsd-f984146cc23e8bf73ffde6b590d2d480edc87b5e.tar.xz
wireguard-openbsd-f984146cc23e8bf73ffde6b590d2d480edc87b5e.zip
Remove old NeXT-specific cruft. From mmcc@
Diffstat (limited to 'lib/libc/net/res_comp.c')
-rw-r--r--lib/libc/net/res_comp.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/libc/net/res_comp.c b/lib/libc/net/res_comp.c
index 605a9b99225..e637f4a9581 100644
--- a/lib/libc/net/res_comp.c
+++ b/lib/libc/net/res_comp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_comp.c,v 1.19 2015/12/14 03:25:59 mmcc Exp $ */
+/* $OpenBSD: res_comp.c,v 1.20 2016/05/01 15:17:29 millert Exp $ */
/*
* ++Copyright++ 1985, 1993
@@ -444,18 +444,6 @@ _getshort(const u_char *msgp)
}
DEF_STRONG(_getshort);
-#ifdef NeXT
-/*
- * nExt machines have some funky library conventions, which we must maintain.
- */
-u_int16_t
-res_getshort(msgp)
- const u_char *msgp;
-{
- return (_getshort(msgp));
-}
-#endif
-
u_int32_t
_getlong(const u_char *msgp)
{