summaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-11 09:17:09 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-11 09:17:09 +0000
commitb48e605377c311f7b5e2da6493c53aba87426cbf (patch)
tree7559aa40a6f1181af6214b50756988a80ed693db /gcc/plugin.c
parent781a4a54061a8de0649e541737972ddaf7607f5a (diff)
downloadgcc-b48e605377c311f7b5e2da6493c53aba87426cbf.tar.gz
* plugin.c (try_init_one_plugin): Improve constness of variable
err. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152638 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/plugin.c')
-rw-r--r--gcc/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/plugin.c b/gcc/plugin.c
index 414d5783fa5..18b7c8aecad 100644
--- a/gcc/plugin.c
+++ b/gcc/plugin.c
@@ -408,7 +408,7 @@ try_init_one_plugin (struct plugin_name_args *plugin)
{
void *dl_handle;
plugin_init_func plugin_init;
- char *err;
+ const char *err;
PTR_UNION_TYPE (plugin_init_func) plugin_init_union;
/* We use RTLD_NOW to accelerate binding and detect any mismatch