Fix comma at end of enumerator list seen with -std=c++98.
authorMartin Liska <mliska@suse.cz>
Sat, 21 Mar 2020 07:09:02 +0000 (08:09 +0100)
committerMartin Liska <mliska@suse.cz>
Sat, 21 Mar 2020 07:09:02 +0000 (08:09 +0100)
* plugin-api.h (enum ld_plugin_symbol_type): Remove
comma after last value of an enum.
* lto-symtab.h (enum gcc_plugin_symbol_type): Likewise.

include/ChangeLog
include/lto-symtab.h
include/plugin-api.h

index c44fb79feebb1d73b35f0ad7407a67eb3cba391e..e7474e5fed1a7c7f215da880bdf95aeb8ef456d6 100644 (file)
@@ -1,3 +1,9 @@
+2020-03-21  Martin Liska  <mliska@suse.cz>
+
+       * plugin-api.h (enum ld_plugin_symbol_type): Remove
+       comma after last value of an enum.
+       * lto-symtab.h (enum gcc_plugin_symbol_type): Likewise.
+
 2020-03-19  Martin Liska  <mliska@suse.cz>
 
        * lto-symtab.h (enum gcc_plugin_symbol_type): New.
index ef2e35f19c3ecffab000b4322e565bbfa015bc91..81a288f5fb6b83a9f11d2f4c5419ebfb442180ec 100644 (file)
@@ -42,7 +42,7 @@ enum gcc_plugin_symbol_type
 {
   GCCST_UNKNOWN,
   GCCST_FUNCTION,
-  GCCST_VARIABLE,
+  GCCST_VARIABLE
 };
 
 enum gcc_plugin_symbol_section_kind
index f0f9667bf3b9f3db30f6d1457f77ce1cf40991e2..673f136ce683fa78879eb1d08c73f5703e9c3bbc 100644 (file)
@@ -141,7 +141,7 @@ enum ld_plugin_symbol_type
 {
   LDST_UNKNOWN,
   LDST_FUNCTION,
-  LDST_VARIABLE,
+  LDST_VARIABLE
 };
 
 enum ld_plugin_symbol_section_kind