plugin.c (try_init_one_plugin): Improve constness of variable err.

* plugin.c (try_init_one_plugin): Improve constness of variable
	err.

From-SVN: r152638
This commit is contained in:
Gerald Pfeifer 2009-10-11 09:17:09 +00:00 committed by Gerald Pfeifer
parent fdd504a226
commit 57703d27e2
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
2009-10-10 Gerald Pfeifer <gerald@pfeifer.com>
2009-10-11 Gerald Pfeifer <gerald@pfeifer.com>
* plugin.c (try_init_one_plugin): Improve constness of variable
err.
2009-10-10 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi (Final install): Refer to
http://gcc.gnu.org/bugs/ for bug reporting.

View File

@ -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