From: Eric Botcazou Date: Wed, 14 Dec 2011 08:25:47 +0000 (+0000) Subject: lto.h (lto_parse_hex): Reinstate. X-Git-Tag: releases/gcc-4.5.4~323 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e4ea8788d897ef43f7c196004c7e0e9b4482244;p=thirdparty%2Fgcc.git lto.h (lto_parse_hex): Reinstate. * lto.h (lto_parse_hex): Reinstate. * lto.c (lto_parse_hex): Make global again. From-SVN: r182323 --- diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 74a9ee3435d3..b4f0b5ee52c7 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2011-12-14 Eric Botcazou + + * lto.h (lto_parse_hex): Reinstate. + * lto.c (lto_parse_hex): Make global again. + 2011-12-13 Eric Botcazou * lto.h (lto_parse_hex): Delete. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 47e8cfe4a56f..1681a4acf759 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -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; diff --git a/gcc/lto/lto.h b/gcc/lto/lto.h index 0a693ac7e850..73717f419fed 100644 --- a/gcc/lto/lto.h +++ b/gcc/lto/lto.h @@ -58,4 +58,6 @@ struct lto_section_slot size_t len; }; +extern HOST_WIDEST_INT lto_parse_hex (const char *p); + #endif /* LTO_H */