From: Martin Liska Date: Sat, 21 Mar 2020 07:09:02 +0000 (+0100) Subject: Fix comma at end of enumerator list seen with -std=c++98. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15711e837b245ab1bbd2c9c49a010524d4e9d384;p=gcc.git Fix comma at end of enumerator list seen with -std=c++98. * 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. --- diff --git a/include/ChangeLog b/include/ChangeLog index c44fb79feeb..e7474e5fed1 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2020-03-21 Martin Liska + + * 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 * lto-symtab.h (enum gcc_plugin_symbol_type): New. diff --git a/include/lto-symtab.h b/include/lto-symtab.h index ef2e35f19c3..81a288f5fb6 100644 --- a/include/lto-symtab.h +++ b/include/lto-symtab.h @@ -42,7 +42,7 @@ enum gcc_plugin_symbol_type { GCCST_UNKNOWN, GCCST_FUNCTION, - GCCST_VARIABLE, + GCCST_VARIABLE }; enum gcc_plugin_symbol_section_kind diff --git a/include/plugin-api.h b/include/plugin-api.h index f0f9667bf3b..673f136ce68 100644 --- a/include/plugin-api.h +++ b/include/plugin-api.h @@ -141,7 +141,7 @@ enum ld_plugin_symbol_type { LDST_UNKNOWN, LDST_FUNCTION, - LDST_VARIABLE, + LDST_VARIABLE }; enum ld_plugin_symbol_section_kind