From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10899 invoked by alias); 29 Jul 2014 15:40:38 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 28368 invoked by uid 89); 29 Jul 2014 15:19:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 29 Jul 2014 15:19:14 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6TEbKFq014392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 29 Jul 2014 10:37:20 -0400 Received: from blade.nx (ovpn-116-90.ams2.redhat.com [10.36.116.90]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6TEbJup012368 for ; Tue, 29 Jul 2014 10:37:20 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id C52F52640DD for ; Tue, 29 Jul 2014 15:37:17 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Subject: [PATCH 07/13] Move pathmax.h to common-defs.h Date: Tue, 29 Jul 2014 16:02:00 -0000 Message-Id: <1406644635-1011-8-git-send-email-gbenson@redhat.com> In-Reply-To: <1406644635-1011-1-git-send-email-gbenson@redhat.com> References: <1406644635-1011-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00753.txt.bz2 This commit moves the inclusion of pathmax.h to common-defs.h and removes all other inclusions. gdb/ 2014-07-28 Gary Benson * common/common-defs.h: Include pathmax.h. * defs.h: Do not include pathmax.h. gdb/gdbserver/ 2014-07-28 Gary Benson * server.h: Do not include pathmax.h. --- gdb/ChangeLog | 5 +++++ gdb/common/common-defs.h | 1 + gdb/defs.h | 3 --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/server.h | 3 --- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index eedc318..b31b3b8 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -33,5 +33,6 @@ #include #include "ansidecl.h" #include "libiberty.h" +#include "pathmax.h" #endif /* COMMON_DEFS_H */ diff --git a/gdb/defs.h b/gdb/defs.h index d9775e3..189de74 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -48,9 +48,6 @@ #include -/* For gnulib's PATH_MAX. */ -#include "pathmax.h" - #include #include "gdb_locale.h" diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 9ecd9e0..fc973c1 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -32,9 +32,6 @@ #endif #include -/* For gnulib's PATH_MAX. */ -#include "pathmax.h" - #include #ifdef HAVE_ALLOCA_H -- 1.7.1