浏览代码

gcc: Remove duplicate declaration.

* gcc-plugin/src/utils.h: Remove declaration of `starpu_gcc_version', as
  this is considered a redefinition in C++.
Ludovic Courtès 12 年之前
父节点
当前提交
2aac1f53f4
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      gcc-plugin/src/utils.h

+ 1 - 2
gcc-plugin/src/utils.h

@@ -64,5 +64,4 @@ extern tree xref_tag (enum tree_code, tree);
    <plugin-version.h>.  */
    <plugin-version.h>.  */
 
 
 static const struct plugin_gcc_version *starpu_gcc_version
 static const struct plugin_gcc_version *starpu_gcc_version
-  __attribute__ ((__unused__));
-static const struct plugin_gcc_version *starpu_gcc_version = &gcc_version;
+  __attribute__ ((__unused__)) = &gcc_version;