From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24122 invoked by alias); 29 Jul 2014 15:18:10 -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 14592 invoked by uid 89); 29 Jul 2014 15:01:46 -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:01:42 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6TEbKIL025343 (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-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6TEbJ9X018003 for ; Tue, 29 Jul 2014 10:37:19 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id 9E7512640DB for ; Tue, 29 Jul 2014 15:37:17 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Subject: [PATCH 05/13] Move ansidecl.h to common-defs.h Date: Tue, 29 Jul 2014 15:18:00 -0000 Message-Id: <1406644635-1011-6-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/msg00748.txt.bz2 This commit moves the inclusion of ansidecl.h to common-defs.h and removes all other inclusions. gdb/ 2014-07-28 Gary Benson * common/common-defs.h: Include ansidecl.h. * defs.h: Do not include ansidecl.h. * common/buffer.h: Likewise. * common/common-utils.h: Likewise. gdb/gdbserver/ 2014-07-28 Gary Benson * server.h: Do not include ansidecl.h. --- gdb/ChangeLog | 7 +++++++ gdb/common/buffer.h | 1 - gdb/common/common-defs.h | 1 + gdb/common/common-utils.h | 2 -- gdb/defs.h | 5 ----- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/server.h | 1 - 7 files changed, 12 insertions(+), 9 deletions(-) diff --git a/gdb/common/buffer.h b/gdb/common/buffer.h index d051bfb..98da0d2 100644 --- a/gdb/common/buffer.h +++ b/gdb/common/buffer.h @@ -21,7 +21,6 @@ #define BUFFER_H #include -#include "ansidecl.h" struct buffer { diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index f1fd363..8106e68 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -31,5 +31,6 @@ #include #include #include +#include "ansidecl.h" #endif /* COMMON_DEFS_H */ diff --git a/gdb/common/common-utils.h b/gdb/common/common-utils.h index 4dc4329..9038bc2 100644 --- a/gdb/common/common-utils.h +++ b/gdb/common/common-utils.h @@ -20,8 +20,6 @@ #ifndef COMMON_UTILS_H #define COMMON_UTILS_H -#include "ansidecl.h" - /* If possible, define FUNCTION_NAME, a macro containing the name of the function being defined. Since this macro may not always be defined, all uses must be protected by appropriate macro definition diff --git a/gdb/defs.h b/gdb/defs.h index 58098a9..b7b6de9 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -53,11 +53,6 @@ #include -/* First include ansidecl.h so we can use the various macro definitions - here and in all subsequent file inclusions. */ - -#include "ansidecl.h" - #include "gdb_locale.h" #include "gdb_wchar.h" diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 9d7fd99..061cdcd 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -26,7 +26,6 @@ #endif #include "libiberty.h" -#include "ansidecl.h" #include "version.h" #ifdef HAVE_ERRNO_H -- 1.7.1