From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22380 invoked by alias); 20 Sep 2012 16:34:33 -0000 Received: (qmail 21844 invoked by uid 22791); 20 Sep 2012 16:34:29 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Sep 2012 16:34:17 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id E25A72900DD; Thu, 20 Sep 2012 18:34:25 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xXFUykei1VYi; Thu, 20 Sep 2012 18:34:25 +0200 (CEST) Received: from chinon.act-europe.fr (chinon.act-europe.fr [10.10.0.182]) by mel.act-europe.fr (Postfix) with ESMTP id CE4DA29000B; Thu, 20 Sep 2012 18:34:25 +0200 (CEST) Received: by chinon.act-europe.fr (Postfix, from userid 507) id D1A1FD8B81; Thu, 20 Sep 2012 18:34:12 +0200 (CEST) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Joel Brobecker Subject: [PATCH 2/4] Make procfs.c:proc_get_LDT_entry static Date: Thu, 20 Sep 2012 16:34:00 -0000 Message-Id: <1348158841-2313-3-git-send-email-brobecker@adacore.com> In-Reply-To: <1348158841-2313-1-git-send-email-brobecker@adacore.com> References: <1348158841-2313-1-git-send-email-brobecker@adacore.com> 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 X-SW-Source: 2012-09/txt/msg00406.txt.bz2 This function is not used outside of procfs.c. gdb/ChangeLog: * procfs.c (proc_get_LDT_entry): Make static. --- gdb/procfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gdb/procfs.c b/gdb/procfs.c index 3583e8e..6ba5bd1 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -2516,7 +2516,7 @@ proc_set_watchpoint (procinfo *pi, CORE_ADDR addr, int len, int wflags) register for the LWP that we're interested in. Returns the matching ssh struct (LDT entry). */ -struct ssd * +static struct ssd * proc_get_LDT_entry (procinfo *pi, int key) { static struct ssd *ldt_entry = NULL; -- 1.6.5.rc2