]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
plugin.h (ld_plugin_add_input_file, [...]): Make argument const.
authorRafael Avila de Espindola <espindola@google.com>
Fri, 18 Jun 2010 16:45:51 +0000 (16:45 +0000)
committerRafael Espindola <espindola@gcc.gnu.org>
Fri, 18 Jun 2010 16:45:51 +0000 (16:45 +0000)
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

include/ChangeLog
include/plugin-api.h

index a879adba75ca157a5b46f82a24fc0e242b60fbc3..6b8053f3f2969ebefa199252537574a754575603 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-18  Rafael Espindola  <espindola@google.com>
+
+       * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
+       Make argument const.
+
 2010-06-08  Tristan Gingold  <gingold@adacore.com>
 
        * dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
index 582178554b3d4519fe23159276bae8e8aaefcbff..55cfe257890835975028596d83c639dd4f8ff74f 100644 (file)
@@ -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.  */