aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2010-06-18 16:53:23 +0000
committerRafael Ávila de Espíndola <respindola@mozilla.com>2010-06-18 16:53:23 +0000
commit6508b958ffb3afc176ac6b978e15baafbc85e4ab (patch)
treefe5a43086f4b09beb6d58cf07148a8cbca499b87 /include
parente075690553ca54b3ad15e9ebc643cdc879c341a9 (diff)
downloadgdb-6508b958ffb3afc176ac6b978e15baafbc85e4ab.zip
gdb-6508b958ffb3afc176ac6b978e15baafbc85e4ab.tar.gz
gdb-6508b958ffb3afc176ac6b978e15baafbc85e4ab.tar.bz2
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')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/plugin-api.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 97e8da5..1368231 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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.
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. */