diff options
author | Richard Biener <rguenther@suse.de> | 2014-08-15 07:51:35 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-08-15 07:51:35 +0000 |
commit | 4b5337e60efa264137d1a65e12c612cb50e98b42 (patch) | |
tree | 20b43de3f2a32065f638708f880e84e66d33080b /gcc/data-streamer-out.c | |
parent | 6e2028ff0f24561125d465b3c8d6acc88d4d82dc (diff) | |
download | gcc-4b5337e60efa264137d1a65e12c612cb50e98b42.tar.gz |
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-out.c')
-rw-r--r-- | gcc/data-streamer-out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/data-streamer-out.c b/gcc/data-streamer-out.c index 4b3a0119dbe..4b904767b23 100644 --- a/gcc/data-streamer-out.c +++ b/gcc/data-streamer-out.c @@ -81,7 +81,7 @@ lto_append_block (struct lto_output_stream *obs) When PERSISTENT is set, the string S is supposed to not change during duration of the OB and thus OB can keep pointer into it. */ -unsigned +static unsigned streamer_string_index (struct output_block *ob, const char *s, unsigned int len, bool persistent) { |