aboutsummaryrefslogtreecommitdiff
path: root/include/plugin-api.h
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2010-06-18 16:45:51 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2010-06-18 16:45:51 +0000
commit47f3e76986dbe0fbd9e80787387b03e885275983 (patch)
tree95486a0379dfbc6f09d4c87475f4ab84e5face4a /include/plugin-api.h
parentd36d83e9c06bb577ded58fb43613ea6cc5e5f4bf (diff)
downloadgcc-47f3e76986dbe0fbd9e80787387b03e885275983.zip
gcc-47f3e76986dbe0fbd9e80787387b03e885275983.tar.gz
gcc-47f3e76986dbe0fbd9e80787387b03e885275983.tar.bz2
plugin.h (ld_plugin_add_input_file, [...]): Make argument const.
2010-06-18 Rafael Espindola <espindola@google.com> * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library): Make argument const. From-SVN: r161007
Diffstat (limited to 'include/plugin-api.h')
-rw-r--r--include/plugin-api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h
index 5821785..55cfe25 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. */