From patchwork Thu Feb 13 05:27:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 1237275 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-519452-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gentoo.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=rh+SaFYX; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48J4l93sqQz9s1x for ; Thu, 13 Feb 2020 16:27:15 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version :content-transfer-encoding; q=dns; s=default; b=QGzaRdC9/ByTmyng BCdzS6SCR42z2nYY+Z6S6+rlOR/iqf4dY0Jg0nfOZqHxqHzfi80Tls+Iud0uQtMC I3jLmImQx0tPI1VZ8FqLeDn59T0+j46UfgjXQmiyGGWHGgyvGR0YTIVdcpFjB8L9 LqIZygJr3aDw4/S9hSkcq6Vjcno= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version :content-transfer-encoding; s=default; bh=viJE1ws2d1N3DQx9HSd0MW zggz4=; b=rh+SaFYXh3HFFX4HnLQKPRe80eVv1TCpcyEj6Qtt0oGnP8svllSlGr l++V8LiYW50VVc+DBWu8034czT/9huzfS4p7jT0aH6YSt8WH38cMBR620K2FK+bp n9A+kd6xV4qKH19aVxt/T80nqPOJ5RVKHdgtecILo1XdYCrhVaLSg= Received: (qmail 50682 invoked by alias); 13 Feb 2020 05:27:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 50674 invoked by uid 89); 13 Feb 2020 05:27:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.1 spammy=pasted, HContent-Transfer-Encoding:8bit X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Feb 2020 05:27:04 +0000 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 8A69634EC69 for ; Thu, 13 Feb 2020 05:27:02 +0000 (UTC) From: Mike Frysinger To: gcc-patches@gcc.gnu.org Subject: [PATCH] libiberty.h: punt duplicate strverscmp prototype Date: Thu, 13 Feb 2020 00:27:00 -0500 Message-Id: <20200213052700.12500-1-vapier@gentoo.org> MIME-Version: 1.0 SVN r216772 accidentally copied & pasted this prototype when adding other ones nearby. 2020-02-13 Mike Frysinger * libiberty.h (strverscmp): Delete duplicate prototype. --- include/ChangeLog | 4 ++++ include/libiberty.h | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index 3f9382d9ad4c..5094f6ce742f 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2020-02-13 Mike Frysinger + + * libiberty.h (strverscmp): Delete duplicate prototype. + 2020-02-05 Andrew Burgess * hashtab.h (htab_remove_elt): Make a parameter const. diff --git a/include/libiberty.h b/include/libiberty.h index 141cb886a850..08ede9889213 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -706,11 +706,6 @@ extern unsigned long long int strtoull (const char *nptr, char **endptr, int base); #endif -#if defined(HAVE_DECL_STRVERSCMP) && !HAVE_DECL_STRVERSCMP -/* Compare version strings. */ -extern int strverscmp (const char *, const char *); -#endif - /* Set the title of a process */ extern void setproctitle (const char *name, ...);