Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2010-06-18 20:53:23 +0400
committerRafael Ávila de Espíndola <respindola@mozilla.com>2010-06-18 20:53:23 +0400
commite43e1d048f649ab7a99c0187989999a983aada97 (patch)
tree3a0f62cc125f96aafa699942dd517de19df2ce07 /include/plugin-api.h
parentce3b386964645d0c5ede0a965a6f7ca96d26e331 (diff)
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h
index 582178554..55cfe2578 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. */