Hi.

The following patch fixes many warnings seen with -std=c++98:

include/plugin-api.h:144:16: warning: comma at end of enumerator list 
[-Wpedantic]

Installed as obvious.

Martin

include/ChangeLog:

2020-03-21  Martin Liska  <mli...@suse.cz>

        * plugin-api.h (enum ld_plugin_symbol_type): Remove
        comma after last value of an enum.
---
 include/plugin-api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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

Reply via email to