summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/getrpcent.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/rpc/getrpcent.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/rpc/getrpcent.c')
-rw-r--r--lib/libc/rpc/getrpcent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c
index 2bfe1ab..97457d3 100644
--- a/lib/libc/rpc/getrpcent.c
+++ b/lib/libc/rpc/getrpcent.c
@@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$");
*/
#include <sys/param.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <assert.h>
OpenPOWER on IntegriCloud