diff options
author | Martin Liska <mliska@suse.cz> | 2020-03-21 08:09:02 +0100 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-03-21 03:39:18 -0700 |
commit | e3b1fa32c2814772e8c8c4d2788e1d342c7493d0 (patch) | |
tree | 69502fc02aee4c2b42954046beeafa211182c52f /include | |
parent | d9fb0d71365e3c7e2c0de2ecd9cb9de0c2bf1880 (diff) | |
download | binutils-e3b1fa32c2814772e8c8c4d2788e1d342c7493d0.zip binutils-e3b1fa32c2814772e8c8c4d2788e1d342c7493d0.tar.gz binutils-e3b1fa32c2814772e8c8c4d2788e1d342c7493d0.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/lto-symtab.h | 2 | ||||
-rw-r--r-- | include/plugin-api.h | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 16521ea..3571247 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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. diff --git a/include/lto-symtab.h b/include/lto-symtab.h index ef2e35f..81a288f 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 f0f9667..673f136 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 |