summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/gethostnamadr_async.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2015-09-20 14:19:21 +0000
committereric <eric@openbsd.org>2015-09-20 14:19:21 +0000
commita55a423af49ffc58174bbeae564544af69217dcc (patch)
tree619d0f76b95c6390c3482639a8921c328be81f35 /lib/libc/asr/gethostnamadr_async.c
parentPack the algorithm numbers, to avoid printing a useless (null) 0 0 0 0 (diff)
downloadwireguard-openbsd-a55a423af49ffc58174bbeae564544af69217dcc.tar.xz
wireguard-openbsd-a55a423af49ffc58174bbeae564544af69217dcc.zip
remove bogus includes of err.h
Diffstat (limited to 'lib/libc/asr/gethostnamadr_async.c')
-rw-r--r--lib/libc/asr/gethostnamadr_async.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/asr/gethostnamadr_async.c b/lib/libc/asr/gethostnamadr_async.c
index 6f82d0335c2..8bff0a0675a 100644
--- a/lib/libc/asr/gethostnamadr_async.c
+++ b/lib/libc/asr/gethostnamadr_async.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gethostnamadr_async.c,v 1.39 2015/09/14 11:52:49 guenther Exp $ */
+/* $OpenBSD: gethostnamadr_async.c,v 1.40 2015/09/20 14:19:21 eric Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -24,7 +24,6 @@
#include <asr.h>
#include <ctype.h>
-#include <err.h>
#include <errno.h>
#include <resolv.h> /* for res_hnok */
#include <stdlib.h>