From patchwork Wed Jul 9 07:01:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 1958 Received: (qmail 25013 invoked by alias); 9 Jul 2014 07:01:16 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 24972 invoked by uid 89); 9 Jul 2014 07:01:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 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 Date: Wed, 9 Jul 2014 12:31:06 +0530 From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [PATCH] Fix -Wundef warning for HAVE_OBSTACK Message-ID: <20140709070106.GA18813@spoyarek.pnq.redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) Remove the HAVE_OBSTACK macro check and include obstack check in include path order since we don't have a copy of obstack.h in the current directory. Siddhesh * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code. --- locale/programs/simple-hash.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/locale/programs/simple-hash.c b/locale/programs/simple-hash.c index ef371a0..8d087da 100644 --- a/locale/programs/simple-hash.c +++ b/locale/programs/simple-hash.c @@ -27,11 +27,7 @@ #include #include -#if HAVE_OBSTACK # include -#else -# include "obstack.h" -#endif #ifdef HAVE_VALUES_H # include