summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qdarwinhelpers.h
diff options
context:
space:
mode:
authorJoni Poikelin <joni.poikelin@qt.io>2023-04-05 10:38:39 +0300
committerJoni Poikelin <joni.poikelin@qt.io>2023-04-05 18:59:22 +0300
commit588eab99d26783d5aa154f788c791a3addf60f95 (patch)
tree97be75621b49afcb7d68d17d43fd53af0544ee6f /src/corelib/global/qdarwinhelpers.h
parenta43f349f9c2259966e6d6e94d31dd64a1156b17b (diff)
Fix some extra semicolon warnings
Fixes: QTBUG-112648 Pick-to: 6.5 Change-Id: I71446459c7fd6018ecb4deb60a7b9b412c0972ba Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/global/qdarwinhelpers.h')
-rw-r--r--src/corelib/global/qdarwinhelpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qdarwinhelpers.h b/src/corelib/global/qdarwinhelpers.h
index 2ffc740d58..ad72211663 100644
--- a/src/corelib/global/qdarwinhelpers.h
+++ b/src/corelib/global/qdarwinhelpers.h
@@ -27,10 +27,10 @@
# define Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) typedef struct __ ## type * type ## Ref
#endif
#ifndef Q_FORWARD_DECLARE_CG_TYPE
-#define Q_FORWARD_DECLARE_CG_TYPE(type) typedef const struct type *type ## Ref;
+# define Q_FORWARD_DECLARE_CG_TYPE(type) typedef const struct type *type##Ref
#endif
#ifndef Q_FORWARD_DECLARE_MUTABLE_CG_TYPE
-#define Q_FORWARD_DECLARE_MUTABLE_CG_TYPE(type) typedef struct type *type ## Ref;
+# define Q_FORWARD_DECLARE_MUTABLE_CG_TYPE(type) typedef struct type *type##Ref
#endif