From patchwork Thu Jun 26 18:34:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 1772 Received: (qmail 5123 invoked by alias); 26 Jun 2014 18:33:29 -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 5103 invoked by uid 89); 26 Jun 2014 18:33:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Date: Fri, 27 Jun 2014 00:04:54 +0530 From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [COMMITTED PATCH] Remove unnecessary include in memmove_chk.c Message-ID: <20140626183454.GA4477@spoyarek.pnq.redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) I have pushed this as obvious since the generated code is identical before and after on x86_64. As a bonus, it gets rid of two -Wundef warnings that were unnecessarily inherited from pagecopy.h. Siddhesh commit b97c9ce50d5d004285fc43c3f99b27630a155c5f Author: Siddhesh Poyarekar Date: Fri Jun 27 00:01:37 2014 +0530 Remove unnecessary include in memmove_chk This also has the side-effect of fixing a couple of Wundef warnings raised from pagecopy.h. The generated code is identical before and after this patch. diff --git a/ChangeLog b/ChangeLog index 506eaed..44f96bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-06-26 Siddhesh Poyarekar + * debug/memmove_chk.c: Remove pagecopy.h include. + * time/mktime.c (leapyear): Remove inline keyword. The code is now identical to gnulib mktime. diff --git a/debug/memmove_chk.c b/debug/memmove_chk.c index f8c4454..10eb632 100644 --- a/debug/memmove_chk.c +++ b/debug/memmove_chk.c @@ -20,7 +20,6 @@ #include #include -#include #ifndef MEMMOVE_CHK # define MEMMOVE_CHK __memmove_chk