[glib/wip/pwithnall/macos-werror] glib: Drop commas at end of enumerator lists
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pwithnall/macos-werror] glib: Drop commas at end of enumerator lists
- Date: Thu, 18 Nov 2021 11:59:15 +0000 (UTC)
commit a727406360095e3fb76ff48c6c60c45d00eb2fa2
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Nov 18 11:57:43 2021 +0000
glib: Drop commas at end of enumerator lists
These cause `-Werror,-Wc++11-extensions` failures when building on
macOS.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
glib/gunicode.h | 2 +-
glib/guri.h | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/glib/gunicode.h b/glib/gunicode.h
index b5278e316..abc515444 100644
--- a/glib/gunicode.h
+++ b/glib/gunicode.h
@@ -639,7 +639,7 @@ typedef enum
G_UNICODE_SCRIPT_OLD_UYGHUR, /* Ougr */
G_UNICODE_SCRIPT_TANGSA, /* Tnsa */
G_UNICODE_SCRIPT_TOTO, /* Toto */
- G_UNICODE_SCRIPT_VITHKUQI, /* Vith */
+ G_UNICODE_SCRIPT_VITHKUQI /* Vith */
} GUnicodeScript;
GLIB_AVAILABLE_IN_ALL
diff --git a/glib/guri.h b/glib/guri.h
index bfe9399a4..a605779cf 100644
--- a/glib/guri.h
+++ b/glib/guri.h
@@ -87,7 +87,7 @@ typedef enum {
G_URI_FLAGS_ENCODED_QUERY = 1 << 5,
G_URI_FLAGS_ENCODED_PATH = 1 << 6,
G_URI_FLAGS_ENCODED_FRAGMENT = 1 << 7,
- G_URI_FLAGS_SCHEME_NORMALIZE GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = 1 << 8,
+ G_URI_FLAGS_SCHEME_NORMALIZE GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = 1 << 8
} GUriFlags;
GLIB_AVAILABLE_IN_2_66
@@ -208,7 +208,7 @@ typedef enum {
G_URI_HIDE_PASSWORD = 1 << 1,
G_URI_HIDE_AUTH_PARAMS = 1 << 2,
G_URI_HIDE_QUERY = 1 << 3,
- G_URI_HIDE_FRAGMENT = 1 << 4,
+ G_URI_HIDE_FRAGMENT = 1 << 4
} GUriHideFlags;
GLIB_AVAILABLE_IN_2_66
@@ -258,7 +258,7 @@ typedef enum {
G_URI_PARAMS_NONE = 0,
G_URI_PARAMS_CASE_INSENSITIVE = 1 << 0,
G_URI_PARAMS_WWW_FORM = 1 << 1,
- G_URI_PARAMS_PARSE_RELAXED = 1 << 2,
+ G_URI_PARAMS_PARSE_RELAXED = 1 << 2
} GUriParamsFlags;
GLIB_AVAILABLE_IN_2_66
@@ -333,7 +333,7 @@ typedef enum {
G_URI_ERROR_BAD_PORT,
G_URI_ERROR_BAD_PATH,
G_URI_ERROR_BAD_QUERY,
- G_URI_ERROR_BAD_FRAGMENT,
+ G_URI_ERROR_BAD_FRAGMENT
} GUriError;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]