diff options
author | Ran Benita <ran234@gmail.com> | 2012-11-07 00:41:06 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2012-11-07 18:59:41 +0200 |
commit | 577612258ac62900e91c312cb6ee62db0dc0ed81 (patch) | |
tree | e52cd9dab609f1dfab2b5f81ce592b2c49a0ebc6 | |
parent | d87035adacbe6ff5a857f33b61828d5c5248d6a9 (diff) |
Don't use trailing enum comma in public headers
Pretty annoying, but C89 doesn't support that (officially), and it might
cause warning with -pedantic, etc. (though you need -Wsystem-headers to
see them usually). Removing them is not a big deal.
Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r-- | xkbcommon/xkbcommon.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xkbcommon/xkbcommon.h b/xkbcommon/xkbcommon.h index 4e0abc4..43f9df1 100644 --- a/xkbcommon/xkbcommon.h +++ b/xkbcommon/xkbcommon.h @@ -344,3 +344,3 @@ enum xkb_keysym_flags { /** Find keysym by case-insensitive search. */ - XKB_KEYSYM_CASE_INSENSITIVE = (1 << 0), + XKB_KEYSYM_CASE_INSENSITIVE = (1 << 0) }; @@ -409,3 +409,3 @@ enum xkb_context_flags { /** Create this context with an empty include path. */ - XKB_CONTEXT_NO_DEFAULT_INCLUDES = (1 << 0), + XKB_CONTEXT_NO_DEFAULT_INCLUDES = (1 << 0) }; @@ -562,3 +562,3 @@ enum xkb_log_level { XKB_LOG_LEVEL_INFO = 40, /**< Log information, warnings, and errors. */ - XKB_LOG_LEVEL_DEBUG = 50, /**< Log everything. */ + XKB_LOG_LEVEL_DEBUG = 50 /**< Log everything. */ }; @@ -658,3 +658,3 @@ enum xkb_keymap_compile_flags { /** Apparently you can't have empty enums. What a drag. */ - XKB_MAP_COMPILE_PLACEHOLDER = 0, + XKB_MAP_COMPILE_PLACEHOLDER = 0 }; @@ -688,3 +688,3 @@ enum xkb_keymap_format { /** The current/classic XKB text format, as generated by xkbcomp -xkb. */ - XKB_KEYMAP_FORMAT_TEXT_V1 = 1, + XKB_KEYMAP_FORMAT_TEXT_V1 = 1 }; @@ -1022,3 +1022,3 @@ enum xkb_key_direction { XKB_KEY_UP, /**< The key was released. */ - XKB_KEY_DOWN, /**< The key was pressed. */ + XKB_KEY_DOWN /**< The key was pressed. */ }; @@ -1056,3 +1056,3 @@ enum xkb_state_component { /** LEDs (derived from the other state components). */ - XKB_STATE_LEDS = (1 << 8), + XKB_STATE_LEDS = (1 << 8) }; @@ -1172,3 +1172,3 @@ enum xkb_state_match { * modifier not specified in the arguments is active. */ - XKB_STATE_MATCH_NON_EXCLUSIVE = (1 << 16), + XKB_STATE_MATCH_NON_EXCLUSIVE = (1 << 16) }; |