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-18  Rafael Espindola  <espindola@google.com>

	* plugin.cc (add_input_file,add_input_library)
	(Plugin_manager::add_input_file): Make filename arguments const.
	* plugin.h (Plugin_manager::add_input_file): Make filename arguments
	const.
This commit is contained in:
Rafael Ávila de Espíndola 2010-06-18 16:53:23 +00:00
parent ce3b386964
commit e43e1d048f
2 changed files with 7 additions and 2 deletions

View 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 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* splay-tree.h: Update copyright years.

View 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. */