public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libiberty.h: punt duplicate strverscmp prototype
@ 2020-02-13  5:27 Mike Frysinger
  2020-02-13 16:32 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2020-02-13  5:27 UTC (permalink / raw)
  To: gcc-patches

SVN r216772 accidentally copied & pasted this prototype when adding
other ones nearby.

2020-02-13  Mike Frysinger  <vapier@gentoo.org>

	* 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  <vapier@gentoo.org>
+
+	* libiberty.h (strverscmp): Delete duplicate prototype.
+
 2020-02-05  Andrew Burgess  <andrew.burgess@embecosm.com>
 
 	* 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, ...);
 
-- 
2.23.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libiberty.h: punt duplicate strverscmp prototype
  2020-02-13  5:27 [PATCH] libiberty.h: punt duplicate strverscmp prototype Mike Frysinger
@ 2020-02-13 16:32 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2020-02-13 16:32 UTC (permalink / raw)
  To: Mike Frysinger, gcc-patches

On Thu, 2020-02-13 at 00:27 -0500, Mike Frysinger wrote:
> SVN r216772 accidentally copied & pasted this prototype when adding
> other ones nearby.
> 
> 2020-02-13  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* libiberty.h (strverscmp): Delete duplicate prototype.
OK.  Please push if you've got privs.  If not, let me know and I'll
take care of it.

jeff
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-13 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13  5:27 [PATCH] libiberty.h: punt duplicate strverscmp prototype Mike Frysinger
2020-02-13 16:32 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).