From b5054e4c2fada3499a5f1a9119f3e1e765438cb5 Mon Sep 17 00:00:00 2001 From: rguenth Date: Fri, 15 Aug 2014 07:51:35 +0000 Subject: 2014-08-15 Richard Biener * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214007 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/data-streamer-in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/data-streamer-in.c') diff --git a/gcc/data-streamer-in.c b/gcc/data-streamer-in.c index 6e65cf57841..ea1628c30dc 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; -- cgit v1.2.1