libiberty.h: punt duplicate strverscmp prototype
diff mbox series

Message ID 20200213052700.12500-1-vapier@gentoo.org
State New
Headers show
Series
  • libiberty.h: punt duplicate strverscmp prototype
Related show

Commit Message

Mike Frysinger Feb. 13, 2020, 5:27 a.m. UTC
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(-)

Comments

Jeff Law Feb. 13, 2020, 4:31 p.m. UTC | #1
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
>

Patch
diff mbox series

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, ...);