Browse Source

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 years ago
parent
commit
2aac1f53f4
1 changed files with 1 additions and 2 deletions
  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>.  */
 
 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;