From: Rafael Avila de Espindola Date: Fri, 18 Jun 2010 16:45:51 +0000 (+0000) Subject: plugin.h (ld_plugin_add_input_file, [...]): Make argument const. X-Git-Tag: releases/gcc-4.6.0~6334 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47f3e76986dbe0fbd9e80787387b03e885275983;p=thirdparty%2Fgcc.git plugin.h (ld_plugin_add_input_file, [...]): Make argument const. 2010-06-18 Rafael Espindola * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library): Make argument const. From-SVN: r161007 --- diff --git a/include/ChangeLog b/include/ChangeLog index a879adba75ca..6b8053f3f296 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2010-06-18 Rafael Espindola + + * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library): + Make argument const. + 2010-06-08 Tristan Gingold * dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and diff --git a/include/plugin-api.h b/include/plugin-api.h index 582178554b3d..55cfe2578908 100644 --- a/include/plugin-api.h +++ b/include/plugin-api.h @@ -220,13 +220,13 @@ enum ld_plugin_status typedef enum ld_plugin_status -(*ld_plugin_add_input_file) (char *pathname); +(*ld_plugin_add_input_file) (const char *pathname); /* The linker's interface for adding a library that should be searched. */ typedef enum ld_plugin_status -(*ld_plugin_add_input_library) (char *libname); +(*ld_plugin_add_input_library) (const char *libname); /* The linker's interface for issuing a warning or error message. */