summaryrefslogtreecommitdiff
path: root/gcc/data-streamer-in.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-15 07:51:35 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-15 07:51:35 +0000
commitb5054e4c2fada3499a5f1a9119f3e1e765438cb5 (patch)
tree20b43de3f2a32065f638708f880e84e66d33080b /gcc/data-streamer-in.c
parentc8efcccb4e34afdc38a9271ac15ed6538a55dccb (diff)
downloadgcc-b5054e4c2fada3499a5f1a9119f3e1e765438cb5.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214007 138bc75d-0d04-0410-961f-82ee72b054a4
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 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;