summaryrefslogtreecommitdiffstats
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2014-10-28 23:25:21 +0000
committerDJ Delorie <dj@redhat.com>2014-10-28 23:25:21 +0000
commit6eca6c43be8b3fa84a47153424b14886d530f110 (patch)
treeecf48ad296b66e76275c2c5d41dd6e990b41c737 /include/libiberty.h
parent9b41c90eadab9018b2c70374be3b9755416f67f8 (diff)
downloadcygnal-6eca6c43be8b3fa84a47153424b14886d530f110.tar.gz
cygnal-6eca6c43be8b3fa84a47153424b14886d530f110.tar.bz2
cygnal-6eca6c43be8b3fa84a47153424b14886d530f110.zip
merge from gcc
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index d09c9a548..571e85f1e 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -655,6 +655,33 @@ extern size_t strnlen (const char *, size_t);
extern int strverscmp (const char *, const char *);
#endif
+#if defined(HAVE_DECL_STRTOL) && !HAVE_DECL_STRTOL
+extern long int strtol (const char *nptr,
+ char **endptr, int base);
+#endif
+
+#if defined(HAVE_DECL_STRTOUL) && !HAVE_DECL_STRTOUL
+extern unsigned long int strtoul (const char *nptr,
+ char **endptr, int base);
+#endif
+
+#if defined(HAVE_LONG_LONG) && defined(HAVE_DECL_STRTOLL) && !HAVE_DECL_STRTOLL
+__extension__
+extern long long int strtoll (const char *nptr,
+ char **endptr, int base);
+#endif
+
+#if defined(HAVE_LONG_LONG) && defined(HAVE_DECL_STRTOULL) && !HAVE_DECL_STRTOULL
+__extension__
+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, ...);