From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61000 invoked by alias); 6 Sep 2017 17:54:49 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 60783 invoked by uid 89); 6 Sep 2017 17:54:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f171.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=i6G8rlgDDzq3zpnTSPUclh0p98eJwIxRurDXhxvjbJs=; b=Kp2gJd2ALYNErsIrnttmjHo0rgAaIzsibq2Y8iyR8MjvSSs3f91N4agWSxrZATr1FZ 0PFvNv+3Kev+CZpTDf3NVwmqAvOoX3XQH8fmu+UbZBndqYtiUIcles+vIdHPesctmi0C LZ4uORpHcdRfaKrgeKwLub29sV1dx+jWcscRyd8tx2ioAHr4dOerINZYiJ2KTnkW0FiX NWDzbA2xSmVsSjf/kvoeKiJVmGL7E6pXX1mO6sPhEpKkrungoqInbLamyOIikVw/FOmo s6gQRuqyp7WpPxtNG5nuvt+CbWLtJQdeFHW/FmCh88N6hCBMP/9/26Fb4Ce0WE92kP01 tfCQ== X-Gm-Message-State: AHPjjUijGPcV4Vna+wq7EiSEzmxGQa/QEX5mRFbrtO1C1ifK4R+8rUJQ gXk6/vcnD574UG0Ppq6j2g== X-Google-Smtp-Source: ADKCNb4kDUQ75+S+awBK9hc2NEBjdGiXdQylwAO0m9s1nvrUOeiJe0vroU6T4SQjF7kVr0B4PYV2ag== X-Received: by 10.200.53.216 with SMTP id l24mr4745860qtb.7.1504720485319; Wed, 06 Sep 2017 10:54:45 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED] Remove remaining _HAVE_STRING_ARCH_* definitions (BZ #18858) Date: Wed, 06 Sep 2017 17:54:00 -0000 Message-Id: <1504720472-15009-1-git-send-email-adhemerval.zanella@linaro.org> X-SW-Source: 2017-09/txt/msg00270.txt.bz2 Since the removal of bits/string.h, _HAVE_STRING_ARCH_* are no longer used. This patch removes the unused macros from i686 and x86_64 sysdeps folder. Checked on x86_64-linux-gnu and i686-linux-gnu. [BZ #18858] * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy): Remove define. * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy): Likewise. * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn): Likewise. * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat): Likewise. * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy): Likewise. * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk): Likewise. * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn): Likewise. --- ChangeLog | 18 ++++++++++++++++++ sysdeps/i386/i686/multiarch/strncpy.c | 1 - sysdeps/x86_64/multiarch/stpcpy.c | 1 - sysdeps/x86_64/multiarch/strcspn.c | 1 - sysdeps/x86_64/multiarch/strncat.c | 1 - sysdeps/x86_64/multiarch/strncpy.c | 1 - sysdeps/x86_64/multiarch/strpbrk.c | 1 - sysdeps/x86_64/multiarch/strspn.c | 1 - 8 files changed, 18 insertions(+), 7 deletions(-) diff --git a/sysdeps/i386/i686/multiarch/strncpy.c b/sysdeps/i386/i686/multiarch/strncpy.c index 24404f6..df1e625 100644 --- a/sysdeps/i386/i686/multiarch/strncpy.c +++ b/sysdeps/i386/i686/multiarch/strncpy.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strncpy 1 # define strncpy __redirect_strncpy # include # undef strncpy diff --git a/sysdeps/x86_64/multiarch/stpcpy.c b/sysdeps/x86_64/multiarch/stpcpy.c index b66237e..122cf90 100644 --- a/sysdeps/x86_64/multiarch/stpcpy.c +++ b/sysdeps/x86_64/multiarch/stpcpy.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_stpcpy 1 # define stpcpy __redirect_stpcpy # define __stpcpy __redirect___stpcpy # define NO_MEMPCPY_STPCPY_REDIRECT diff --git a/sysdeps/x86_64/multiarch/strcspn.c b/sysdeps/x86_64/multiarch/strcspn.c index 011f69a..6f4704f 100644 --- a/sysdeps/x86_64/multiarch/strcspn.c +++ b/sysdeps/x86_64/multiarch/strcspn.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strcspn 1 # define strcspn __redirect_strcspn # include # undef strcspn diff --git a/sysdeps/x86_64/multiarch/strncat.c b/sysdeps/x86_64/multiarch/strncat.c index d359e16..6a41653 100644 --- a/sysdeps/x86_64/multiarch/strncat.c +++ b/sysdeps/x86_64/multiarch/strncat.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strncat 1 # define strncat __redirect_strncat # include # undef strncat diff --git a/sysdeps/x86_64/multiarch/strncpy.c b/sysdeps/x86_64/multiarch/strncpy.c index 7b71cb9..361fd5a 100644 --- a/sysdeps/x86_64/multiarch/strncpy.c +++ b/sysdeps/x86_64/multiarch/strncpy.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strncpy 1 # define strncpy __redirect_strncpy # include # undef strncpy diff --git a/sysdeps/x86_64/multiarch/strpbrk.c b/sysdeps/x86_64/multiarch/strpbrk.c index 65453df..b69cd73 100644 --- a/sysdeps/x86_64/multiarch/strpbrk.c +++ b/sysdeps/x86_64/multiarch/strpbrk.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strpbrk 1 # define strpbrk __redirect_strpbrk # include # undef strpbrk diff --git a/sysdeps/x86_64/multiarch/strspn.c b/sysdeps/x86_64/multiarch/strspn.c index 942e07a..6065b39 100644 --- a/sysdeps/x86_64/multiarch/strspn.c +++ b/sysdeps/x86_64/multiarch/strspn.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strspn 1 # define strspn __redirect_strspn # include # undef strspn -- 2.7.4