aboutsummaryrefslogtreecommitdiff
path: root/gcc/data-streamer-in.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-08-15 07:51:35 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-08-15 07:51:35 +0000
commit4b5337e60efa264137d1a65e12c612cb50e98b42 (patch)
tree20b43de3f2a32065f638708f880e84e66d33080b /gcc/data-streamer-in.c
parent6e2028ff0f24561125d465b3c8d6acc88d4d82dc (diff)
downloadgcc-4b5337e60efa264137d1a65e12c612cb50e98b42.zip
gcc-4b5337e60efa264137d1a65e12c612cb50e98b42.tar.gz
gcc-4b5337e60efa264137d1a65e12c612cb50e98b42.tar.bz2
data-streamer.h (streamer_string_index, [...]): Remove.
2014-08-15 Richard Biener <rguenther@suse.de> * data-streamer.h (streamer_string_index, string_for_index): Remove. * data-streamer-out.c (streamer_string_index): Make static. * data-streamer-in.c (string_for_index): Likewise. * lto-streamer-out.c (lto_output_location): Use bp_pack_string. * lto-streamer-in.c (lto_input_location): Use bp_unpack_string. From-SVN: r214007
Diffstat (limited to 'gcc/data-streamer-in.c')
-rw-r--r--gcc/data-streamer-in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/data-streamer-in.c b/gcc/data-streamer-in.c
index 6e65cf5..ea1628c 100644
--- a/gcc/data-streamer-in.c
+++ b/gcc/data-streamer-in.c
@@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see
/* Read a string from the string table in DATA_IN using input block
IB. Write the length to RLEN. */
-const char *
+static const char *
string_for_index (struct data_in *data_in, unsigned int loc, unsigned int *rlen)
{
unsigned int len;