From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4F8C6139086 for ; Thu, 29 Dec 2016 02:25:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 756DBE0BFB; Thu, 29 Dec 2016 02:25:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53E2FE0BFA for ; Thu, 29 Dec 2016 02:25:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBB7233BEBE for ; Thu, 29 Dec 2016 02:25:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF28C24F0 for ; Thu, 29 Dec 2016 02:25:51 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1482964425.d6d33b2ef60f3700702e59f8cdf718b7dd3fb886.vapier@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: porting.h qcache.c qmerge.c qpkg.c X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: d6d33b2ef60f3700702e59f8cdf718b7dd3fb886 X-VCS-Branch: master Date: Thu, 29 Dec 2016 02:25:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 841b984b-230e-4700-8c39-29fdc758ace8 X-Archives-Hash: 9385758930212f85e5934f9ecf6234c4 commit: d6d33b2ef60f3700702e59f8cdf718b7dd3fb886 Author: Mike Frysinger gentoo org> AuthorDate: Wed Dec 28 22:33:45 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed Dec 28 22:33:45 2016 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=d6d33b2e move system headers to porting.h to avoid duplication porting.h | 3 +++ qcache.c | 10 ---------- qmerge.c | 3 --- qpkg.c | 2 -- 4 files changed, 3 insertions(+), 15 deletions(-) diff --git a/porting.h b/porting.h index 28b6317..b166bc1 100644 --- a/porting.h +++ b/porting.h @@ -30,7 +30,10 @@ #include #include #include +#include +#include #include +#include #include #include #include diff --git a/qcache.c b/qcache.c index 535d7a2..c5421c7 100644 --- a/qcache.c +++ b/qcache.c @@ -7,16 +7,6 @@ #ifdef APPLET_qcache -#include -#include -#include -#include -#include -#include -#include -#include -#include - /********************************************************************/ /* Required portage-utils stuff */ /********************************************************************/ diff --git a/qmerge.c b/qmerge.c index 68459c9..4ef156b 100644 --- a/qmerge.c +++ b/qmerge.c @@ -8,9 +8,6 @@ #ifdef APPLET_qmerge -#include -#include -#include /* This is a GNUlib hack, because GNUlib doesn't provide st_mtim members * of struct stat, but instead provides wrappers to retrieve the time * fields (stat-time module). We just define a macro in case people are diff --git a/qpkg.c b/qpkg.c index 2cc658e..1c18edc 100644 --- a/qpkg.c +++ b/qpkg.c @@ -8,8 +8,6 @@ #ifdef APPLET_qpkg -#include - #define QPKG_FLAGS "cEpP:" COMMON_FLAGS static struct option const qpkg_long_opts[] = { {"clean", no_argument, NULL, 'c'},