]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
lto.h (lto_parse_hex): Reinstate.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 14 Dec 2011 08:25:47 +0000 (08:25 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 14 Dec 2011 08:25:47 +0000 (08:25 +0000)
* lto.h (lto_parse_hex): Reinstate.
* lto.c (lto_parse_hex): Make global again.

From-SVN: r182323

gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/lto/lto.h

index 74a9ee3435d39bdf32ba1605cfba54be1772f89c..b4f0b5ee52c7bcacd6bdfd7159a3cadce12188ff 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * lto.h (lto_parse_hex): Reinstate.
+       * lto.c (lto_parse_hex): Make global again.
+
 2011-12-13  Eric Botcazou  <ebotcazou@adacore.com>
 
        * lto.h (lto_parse_hex): Delete.
index 47e8cfe4a56f3ac33b6e249830555f6e95b111b4..1681a4acf759fb6cf83d90194f7ebf5e0f4f9ade 100644 (file)
@@ -259,7 +259,7 @@ lto_read_decls (struct lto_file_decl_data *decl_data, const void *data,
 
 /* Custom version of strtoll, which is not portable.  */
 
-static HOST_WIDEST_INT
+HOST_WIDEST_INT
 lto_parse_hex (const char *p)
 {
   HOST_WIDEST_INT ret = 0;
index 0a693ac7e8500c5e285a934350cde6c96688bf33..73717f419fed8ce217a136525a84915dac7d4e03 100644 (file)
@@ -58,4 +58,6 @@ struct lto_section_slot
   size_t len;
 };
 
+extern HOST_WIDEST_INT lto_parse_hex (const char *p);
+
 #endif /* LTO_H */