]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
plugin.c (try_init_one_plugin): Improve constness of variable err.
authorGerald Pfeifer <gerald@pfeifer.com>
Sun, 11 Oct 2009 09:17:09 +0000 (09:17 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Sun, 11 Oct 2009 09:17:09 +0000 (09:17 +0000)
* plugin.c (try_init_one_plugin): Improve constness of variable
err.

From-SVN: r152638

gcc/ChangeLog
gcc/plugin.c

index b71fccbd727260462a9fe0ce06d5b8abb1433e46..97e65aec2305548fde7a13ce7ebd31f0767e5087 100644 (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.
 
index 414d5783fa592ed8c7b384303e9b3757f2c1ee69..18b7c8aecad041d809e70ffc583a2e8d4a9083a6 100644 (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