summaryrefslogtreecommitdiff
path: root/include/plugin-api.h
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-18 16:45:51 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-18 16:45:51 +0000
commit7d99a199519b7771c9552db92b6cd55214aad549 (patch)
tree95486a0379dfbc6f09d4c87475f4ab84e5face4a /include/plugin-api.h
parentae929441677ea4b1bb8b5d3f64a54c1fcf84b94e (diff)
downloadgcc-7d99a199519b7771c9552db92b6cd55214aad549.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161007 138bc75d-0d04-0410-961f-82ee72b054a4
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 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. */