summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/hesiod.c
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2016-04-18 21:05:15 +0000
committeravos <avos@FreeBSD.org>2016-04-18 21:05:15 +0000
commitf0171d33b464dee5ac308f1d13ede2ddd9d030a7 (patch)
tree202a73fe295a5c504dbcb0b6bd3dc404a648d308 /lib/libc/net/hesiod.c
parent5c27d86f778aa8b18f17e8c4e62b679a4e5aab49 (diff)
downloadFreeBSD-src-f0171d33b464dee5ac308f1d13ede2ddd9d030a7.zip
FreeBSD-src-f0171d33b464dee5ac308f1d13ede2ddd9d030a7.tar.gz
libc: do not include <sys/types.h> where <sys/param.h> was already included
According to style(9): > normally, include <sys/types.h> OR <sys/param.h>, but not both. (<sys/param.h> already includes <sys/types.h> when LOCORE is not defined).
Diffstat (limited to 'lib/libc/net/hesiod.c')
-rw-r--r--lib/libc/net/hesiod.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/net/hesiod.c b/lib/libc/net/hesiod.c
index 4258993..0966b6d 100644
--- a/lib/libc/net/hesiod.c
+++ b/lib/libc/net/hesiod.c
@@ -51,7 +51,6 @@ static char *orig_rcsid = "$NetBSD: hesiod.c,v 1.9 1999/02/11 06:16:38 simonb Ex
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/types.h>
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
OpenPOWER on IntegriCloud