Commit ae718d66 by Ian Lance Taylor Committed by Ian Lance Taylor

* lto.c (lto_section_with_id): Make s a const pointer.

From-SVN: r164996
parent 852e4bd2
2010-10-05 Ian Lance Taylor <iant@google.com>
* lto.c (lto_section_with_id): Make s a const pointer.
2010-10-05 Jan Hubicka <jh@suse.cz> 2010-10-05 Jan Hubicka <jh@suse.cz>
* lto.c: Include params.h. * lto.c: Include params.h.
......
...@@ -431,7 +431,7 @@ lto_resolution_read (splay_tree file_ids, FILE *resolution, lto_file *file) ...@@ -431,7 +431,7 @@ lto_resolution_read (splay_tree file_ids, FILE *resolution, lto_file *file)
static int static int
lto_section_with_id (const char *name, unsigned *id) lto_section_with_id (const char *name, unsigned *id)
{ {
char *s; const char *s;
if (strncmp (name, LTO_SECTION_NAME_PREFIX, strlen (LTO_SECTION_NAME_PREFIX))) if (strncmp (name, LTO_SECTION_NAME_PREFIX, strlen (LTO_SECTION_NAME_PREFIX)))
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment