From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64695 invoked by alias); 19 Aug 2015 16:51: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 64676 invoked by uid 89); 19 Aug 2015 16:51:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,KAM_INFOUSMEBIZ,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: m.saper.info Received: from m.saper.info (HELO m.saper.info) (213.239.217.105) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 19 Aug 2015 16:51:36 +0000 Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.14.9/8.14.9) with ESMTP id t7JGpVAq092582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 19 Aug 2015 16:51:31 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by m.saper.info (8.14.9/8.14.9/Submit) with ESMTP id t7JGpVe6092579; Wed, 19 Aug 2015 16:51:31 GMT (envelope-from saper@saper.info) Date: Wed, 19 Aug 2015 16:51:00 -0000 From: Marcin Cieslak To: Yao Qi cc: gdb-patches@sourceware.org Subject: Re: [PATCH] procfs.c: Include "filestuff.h" In-Reply-To: <864mjv3e97.fsf@gmail.com> Message-ID: References: <864mjv3e97.fsf@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-2 Content-Transfer-Encoding: 8BIT X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00522.txt.bz2 Fixes implicit function declaration error in gdb/procfs.c:4927 about undeclared make_cleanup_close(). gdb/ChangeLog: PR build/18843 * procfs.c: Include "filestuff.h". --- gdb/ChangeLog | 5 +++++ gdb/procfs.c | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4af881e..ec3519a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-08-18 Marcin Cie¶lak + + PR build/18843 + * procfs.c: Include "filestuff.h". + 2015-08-18 Sandra Loosemore * remote.c (strprefix): New. diff --git a/gdb/procfs.c b/gdb/procfs.c index 42f1403..3d4f7be 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -30,6 +30,7 @@ #include "gdbthread.h" #include "regcache.h" #include "inf-child.h" +#include "filestuff.h" #if defined (NEW_PROC_API) #define _STRUCTURED_PROC 1 /* Should be done by configure script. */ -- 1.6.2.1