From owner-svn-src-all@freebsd.org Mon Apr 18 21:05:20 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC0C5B13A00; Mon, 18 Apr 2016 21:05:20 +0000 (UTC) (envelope-from avos@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 700001028; Mon, 18 Apr 2016 21:05:20 +0000 (UTC) (envelope-from avos@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3IL5JID010927; Mon, 18 Apr 2016 21:05:19 GMT (envelope-from avos@FreeBSD.org) Received: (from avos@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3IL5FG9010855; Mon, 18 Apr 2016 21:05:15 GMT (envelope-from avos@FreeBSD.org) Message-Id: <201604182105.u3IL5FG9010855@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: avos set sender to avos@FreeBSD.org using -f From: Andriy Voskoboinyk Date: Mon, 18 Apr 2016 21:05:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298226 - in head/lib/libc: db/btree gen inet isc net resolv rpc secure stdlib xdr yp X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 21:05:20 -0000 Author: avos Date: Mon Apr 18 21:05:15 2016 New Revision: 298226 URL: https://svnweb.freebsd.org/changeset/base/298226 Log: libc: do not include where was already included According to style(9): > normally, include OR , but not both. ( already includes when LOCORE is not defined). Modified: head/lib/libc/db/btree/bt_split.c head/lib/libc/gen/arc4random.c head/lib/libc/gen/devname.c head/lib/libc/gen/exec.c head/lib/libc/gen/getnetgrent.c head/lib/libc/gen/setproctitle.c head/lib/libc/inet/inet_addr.c head/lib/libc/inet/inet_ntop.c head/lib/libc/inet/inet_pton.c head/lib/libc/inet/nsap_addr.c head/lib/libc/isc/eventlib_p.h head/lib/libc/net/base64.c head/lib/libc/net/ether_addr.c head/lib/libc/net/eui64.c head/lib/libc/net/getaddrinfo.c head/lib/libc/net/gethostbydns.c head/lib/libc/net/getprotoent.c head/lib/libc/net/getservent.c head/lib/libc/net/hesiod.c head/lib/libc/net/ip6opt.c head/lib/libc/net/map_v4v6.c head/lib/libc/net/rthdr.c head/lib/libc/net/sourcefilter.c head/lib/libc/resolv/herror.c head/lib/libc/resolv/res_comp.c head/lib/libc/resolv/res_data.c head/lib/libc/resolv/res_debug.c head/lib/libc/resolv/res_init.c head/lib/libc/resolv/res_mkquery.c head/lib/libc/resolv/res_mkupdate.c head/lib/libc/resolv/res_query.c head/lib/libc/resolv/res_send.c head/lib/libc/rpc/getrpcent.c head/lib/libc/rpc/rpc_generic.c head/lib/libc/rpc/svc_vc.c head/lib/libc/secure/stack_protector.c head/lib/libc/stdlib/rand.c head/lib/libc/xdr/xdr_float.c head/lib/libc/yp/yplib.c Modified: head/lib/libc/db/btree/bt_split.c ============================================================================== --- head/lib/libc/db/btree/bt_split.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/db/btree/bt_split.c Mon Apr 18 21:05:15 2016 (r298226) @@ -36,7 +36,6 @@ static char sccsid[] = "@(#)bt_split.c 8 #include __FBSDID("$FreeBSD$"); -#include #include #include Modified: head/lib/libc/gen/arc4random.c ============================================================================== --- head/lib/libc/gen/arc4random.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/gen/arc4random.c Mon Apr 18 21:05:15 2016 (r298226) @@ -37,7 +37,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include Modified: head/lib/libc/gen/devname.c ============================================================================== --- head/lib/libc/gen/devname.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/gen/devname.c Mon Apr 18 21:05:15 2016 (r298226) @@ -33,14 +33,13 @@ static char sccsid[] = "@(#)devname.c 8. #include __FBSDID("$FreeBSD$"); -#include +#include #include #include #include #include #include -#include #include char * Modified: head/lib/libc/gen/exec.c ============================================================================== --- head/lib/libc/gen/exec.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/gen/exec.c Mon Apr 18 21:05:15 2016 (r298226) @@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include -#include #include #include #include Modified: head/lib/libc/gen/getnetgrent.c ============================================================================== --- head/lib/libc/gen/getnetgrent.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/gen/getnetgrent.c Mon Apr 18 21:05:15 2016 (r298226) @@ -85,9 +85,8 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include -#include #include +#include #include static char *_netgr_yp_domain; int _use_only_yp; Modified: head/lib/libc/gen/setproctitle.c ============================================================================== --- head/lib/libc/gen/setproctitle.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/gen/setproctitle.c Mon Apr 18 21:05:15 2016 (r298226) @@ -19,7 +19,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" -#include #include #include #include Modified: head/lib/libc/inet/inet_addr.c ============================================================================== --- head/lib/libc/inet/inet_addr.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/inet/inet_addr.c Mon Apr 18 21:05:15 2016 (r298226) @@ -73,7 +73,6 @@ __FBSDID("$FreeBSD$"); #include "port_before.h" -#include #include #include Modified: head/lib/libc/inet/inet_ntop.c ============================================================================== --- head/lib/libc/inet/inet_ntop.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/inet/inet_ntop.c Mon Apr 18 21:05:15 2016 (r298226) @@ -24,7 +24,6 @@ __FBSDID("$FreeBSD$"); #include "port_before.h" #include -#include #include #include Modified: head/lib/libc/inet/inet_pton.c ============================================================================== --- head/lib/libc/inet/inet_pton.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/inet/inet_pton.c Mon Apr 18 21:05:15 2016 (r298226) @@ -23,7 +23,6 @@ __FBSDID("$FreeBSD$"); #include "port_before.h" #include -#include #include #include #include Modified: head/lib/libc/inet/nsap_addr.c ============================================================================== --- head/lib/libc/inet/nsap_addr.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/inet/nsap_addr.c Mon Apr 18 21:05:15 2016 (r298226) @@ -23,7 +23,6 @@ __FBSDID("$FreeBSD$"); #include "port_before.h" -#include #include #include Modified: head/lib/libc/isc/eventlib_p.h ============================================================================== --- head/lib/libc/isc/eventlib_p.h Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/isc/eventlib_p.h Mon Apr 18 21:05:15 2016 (r298226) @@ -27,7 +27,6 @@ #define _EVENTLIB_P_H #include -#include #include #include #include Modified: head/lib/libc/net/base64.c ============================================================================== --- head/lib/libc/net/base64.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/base64.c Mon Apr 18 21:05:15 2016 (r298226) @@ -43,7 +43,6 @@ #include __FBSDID("$FreeBSD$"); -#include #include #include Modified: head/lib/libc/net/ether_addr.c ============================================================================== --- head/lib/libc/net/ether_addr.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/ether_addr.c Mon Apr 18 21:05:15 2016 (r298226) @@ -40,7 +40,6 @@ #include __FBSDID("$FreeBSD$"); -#include #include #include Modified: head/lib/libc/net/eui64.c ============================================================================== --- head/lib/libc/net/eui64.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/eui64.c Mon Apr 18 21:05:15 2016 (r298226) @@ -72,11 +72,10 @@ __FBSDID("$FreeBSD$"); #include #include -#include +#include #include #include #include -#include #ifdef YP #include #include Modified: head/lib/libc/net/getaddrinfo.c ============================================================================== --- head/lib/libc/net/getaddrinfo.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/getaddrinfo.c Mon Apr 18 21:05:15 2016 (r298226) @@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" -#include #include #include #include Modified: head/lib/libc/net/gethostbydns.c ============================================================================== --- head/lib/libc/net/gethostbydns.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/gethostbydns.c Mon Apr 18 21:05:15 2016 (r298226) @@ -56,7 +56,6 @@ static char fromrcsid[] = "From: Id: get #include __FBSDID("$FreeBSD$"); -#include #include #include #include Modified: head/lib/libc/net/getprotoent.c ============================================================================== --- head/lib/libc/net/getprotoent.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/getprotoent.c Mon Apr 18 21:05:15 2016 (r298226) @@ -34,7 +34,6 @@ static char sccsid[] = "@(#)getprotoent. __FBSDID("$FreeBSD$"); #include -#include #include #include #include Modified: head/lib/libc/net/getservent.c ============================================================================== --- head/lib/libc/net/getservent.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/getservent.c Mon Apr 18 21:05:15 2016 (r298226) @@ -34,7 +34,6 @@ static char sccsid[] = "@(#)getservent.c __FBSDID("$FreeBSD$"); #include -#include #include #include #include Modified: head/lib/libc/net/hesiod.c ============================================================================== --- head/lib/libc/net/hesiod.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/hesiod.c Mon Apr 18 21:05:15 2016 (r298226) @@ -51,7 +51,6 @@ static char *orig_rcsid = "$NetBSD: hesi #include __FBSDID("$FreeBSD$"); -#include #include #include #include Modified: head/lib/libc/net/ip6opt.c ============================================================================== --- head/lib/libc/net/ip6opt.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/ip6opt.c Mon Apr 18 21:05:15 2016 (r298226) @@ -33,7 +33,6 @@ __FBSDID("$FreeBSD$"); #include -#include #include #include Modified: head/lib/libc/net/map_v4v6.c ============================================================================== --- head/lib/libc/net/map_v4v6.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/map_v4v6.c Mon Apr 18 21:05:15 2016 (r298226) @@ -55,7 +55,6 @@ static char sccsid[] = "@(#)gethostnamad #include __FBSDID("$FreeBSD$"); -#include #include #include #include Modified: head/lib/libc/net/rthdr.c ============================================================================== --- head/lib/libc/net/rthdr.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/rthdr.c Mon Apr 18 21:05:15 2016 (r298226) @@ -33,7 +33,6 @@ __FBSDID("$FreeBSD$"); #include -#include #include #include Modified: head/lib/libc/net/sourcefilter.c ============================================================================== --- head/lib/libc/net/sourcefilter.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/net/sourcefilter.c Mon Apr 18 21:05:15 2016 (r298226) @@ -29,7 +29,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" -#include #include #include #include Modified: head/lib/libc/resolv/herror.c ============================================================================== --- head/lib/libc/resolv/herror.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/herror.c Mon Apr 18 21:05:15 2016 (r298226) @@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include "port_before.h" #include "namespace.h" -#include #include #include Modified: head/lib/libc/resolv/res_comp.c ============================================================================== --- head/lib/libc/resolv/res_comp.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/res_comp.c Mon Apr 18 21:05:15 2016 (r298226) @@ -72,7 +72,6 @@ static const char rcsid[] = "$Id: res_co __FBSDID("$FreeBSD$"); #include "port_before.h" -#include #include #include #include Modified: head/lib/libc/resolv/res_data.c ============================================================================== --- head/lib/libc/resolv/res_data.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/res_data.c Mon Apr 18 21:05:15 2016 (r298226) @@ -23,7 +23,6 @@ __FBSDID("$FreeBSD$"); #include "port_before.h" -#include #include #include #include Modified: head/lib/libc/resolv/res_debug.c ============================================================================== --- head/lib/libc/resolv/res_debug.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/res_debug.c Mon Apr 18 21:05:15 2016 (r298226) @@ -98,7 +98,6 @@ __FBSDID("$FreeBSD$"); #include "port_before.h" -#include #include #include Modified: head/lib/libc/resolv/res_init.c ============================================================================== --- head/lib/libc/resolv/res_init.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/res_init.c Mon Apr 18 21:05:15 2016 (r298226) @@ -75,7 +75,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" -#include #include #include #include Modified: head/lib/libc/resolv/res_mkquery.c ============================================================================== --- head/lib/libc/resolv/res_mkquery.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/res_mkquery.c Mon Apr 18 21:05:15 2016 (r298226) @@ -72,7 +72,6 @@ static const char rcsid[] = "$Id: res_mk __FBSDID("$FreeBSD$"); #include "port_before.h" -#include #include #include #include Modified: head/lib/libc/resolv/res_mkupdate.c ============================================================================== --- head/lib/libc/resolv/res_mkupdate.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/res_mkupdate.c Mon Apr 18 21:05:15 2016 (r298226) @@ -29,7 +29,6 @@ __FBSDID("$FreeBSD$"); #include "port_before.h" -#include #include #include Modified: head/lib/libc/resolv/res_query.c ============================================================================== --- head/lib/libc/resolv/res_query.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/res_query.c Mon Apr 18 21:05:15 2016 (r298226) @@ -72,7 +72,6 @@ static const char rcsid[] = "$Id: res_qu __FBSDID("$FreeBSD$"); #include "port_before.h" -#include #include #include #include Modified: head/lib/libc/resolv/res_send.c ============================================================================== --- head/lib/libc/resolv/res_send.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/resolv/res_send.c Mon Apr 18 21:05:15 2016 (r298226) @@ -82,7 +82,6 @@ __FBSDID("$FreeBSD$"); #endif #include "namespace.h" -#include #include #include #include Modified: head/lib/libc/rpc/getrpcent.c ============================================================================== --- head/lib/libc/rpc/getrpcent.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/rpc/getrpcent.c Mon Apr 18 21:05:15 2016 (r298226) @@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$"); */ #include -#include #include #include #include Modified: head/lib/libc/rpc/rpc_generic.c ============================================================================== --- head/lib/libc/rpc/rpc_generic.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/rpc/rpc_generic.c Mon Apr 18 21:05:15 2016 (r298226) @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include "reentrant.h" -#include #include #include #include Modified: head/lib/libc/rpc/svc_vc.c ============================================================================== --- head/lib/libc/rpc/svc_vc.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/rpc/svc_vc.c Mon Apr 18 21:05:15 2016 (r298226) @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include "reentrant.h" -#include #include #include #include Modified: head/lib/libc/secure/stack_protector.c ============================================================================== --- head/lib/libc/secure/stack_protector.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/secure/stack_protector.c Mon Apr 18 21:05:15 2016 (r298226) @@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include #include Modified: head/lib/libc/stdlib/rand.c ============================================================================== --- head/lib/libc/stdlib/rand.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/stdlib/rand.c Mon Apr 18 21:05:15 2016 (r298226) @@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include #include -#include #include #include "un-namespace.h" Modified: head/lib/libc/xdr/xdr_float.c ============================================================================== --- head/lib/libc/xdr/xdr_float.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/xdr/xdr_float.c Mon Apr 18 21:05:15 2016 (r298226) @@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$"); */ #include "namespace.h" -#include #include #include Modified: head/lib/libc/yp/yplib.c ============================================================================== --- head/lib/libc/yp/yplib.c Mon Apr 18 20:56:21 2016 (r298225) +++ head/lib/libc/yp/yplib.c Mon Apr 18 21:05:15 2016 (r298226) @@ -34,7 +34,6 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include "reentrant.h" #include -#include #include #include #include