From patchwork Thu Jun 22 09:59:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 21193 Received: (qmail 9544 invoked by alias); 22 Jun 2017 09:59:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 9525 invoked by uid 89); 22 Jun 2017 09:59:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= 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 ESMTP; Thu, 22 Jun 2017 09:59:29 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E32247A161 for ; Thu, 22 Jun 2017 09:59:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E32247A161 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E32247A161 Received: from cascais.lan (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 74F7D5C8B9 for ; Thu, 22 Jun 2017 09:59:27 +0000 (UTC) From: Pedro Alves To: gdb-patches@sourceware.org Subject: [pushed] common/agent.h: Add missing include guards Date: Thu, 22 Jun 2017 10:59:26 +0100 Message-Id: <1498125566-2126-1-git-send-email-palves@redhat.com> gdb/ChangeLog: 2017-06-22 Pedro Alves * common/agent.h: Add include guards. --- gdb/ChangeLog | 4 ++++ gdb/common/agent.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3774d17a..5e860b4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-06-22 Pedro Alves + + * common/agent.h: Add include guards. + 2017-06-21 Simon Marchi * target.h (struct target_ops) : Update doc to diff --git a/gdb/common/agent.h b/gdb/common/agent.h index 171c591..66f57ad 100644 --- a/gdb/common/agent.h +++ b/gdb/common/agent.h @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef COMMON_AGENT_H +#define COMMON_AGENT_H + int agent_run_command (int pid, const char *cmd, int len); int agent_look_up_symbols (void *); @@ -56,3 +59,5 @@ enum agent_capa int agent_capability_check (enum agent_capa); void agent_capability_invalidate (void); + +#endif /* COMMON_AGENT_H */