include: Sync lto-symtab.h and plugin-api.h with GCC

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.
This commit is contained in:
Martin Liska 2020-03-21 08:09:02 +01:00 committed by H.J. Lu
parent d9fb0d7136
commit e3b1fa32c2
3 changed files with 8 additions and 2 deletions

View 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.

View File

@ -42,7 +42,7 @@ enum gcc_plugin_symbol_type
{
GCCST_UNKNOWN,
GCCST_FUNCTION,
GCCST_VARIABLE,
GCCST_VARIABLE
};
enum gcc_plugin_symbol_section_kind

View File

@ -141,7 +141,7 @@ enum ld_plugin_symbol_type
{
LDST_UNKNOWN,
LDST_FUNCTION,
LDST_VARIABLE,
LDST_VARIABLE
};
enum ld_plugin_symbol_section_kind