From e43e1d048f649ab7a99c0187989999a983aada97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Fri, 18 Jun 2010 16:53:23 +0000 Subject: [PATCH] 2010-06-18 Rafael Espindola * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library): Make argument const. 2010-06-18 Rafael Espindola * 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. --- include/ChangeLog | 5 +++++ include/plugin-api.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index 97e8da5dc..1368231c4 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2010-06-18 Rafael Espindola + + * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library): + Make argument const. + 2010-06-08 Laurynas Biveinis * splay-tree.h: Update copyright years. 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. */