diff options
author | espindola <espindola> | 2010-06-18 16:53:23 +0000 |
---|---|---|
committer | espindola <espindola> | 2010-06-18 16:53:23 +0000 |
commit | 06d611d9bd4a0a1027dc35e52ea1ff26e28dd466 (patch) | |
tree | 0046c5728cdb37d10220894eebb682cda79a8de4 /include/plugin-api.h | |
parent | eb8ea846c927aed9724068bbf3556017734eb4a8 (diff) | |
download | gdb-06d611d9bd4a0a1027dc35e52ea1ff26e28dd466.tar.gz |
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.
Diffstat (limited to 'include/plugin-api.h')
-rw-r--r-- | include/plugin-api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h index 582178554b3..55cfe257890 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. */ |