summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-10-01 16:34:33 -0700
committerJake Petroules <jake.petroules@qt.io>2017-10-02 05:28:08 +0000
commit291233a8d05b79a19e3ae2951824d1c0444cbd27 (patch)
treed92c1866f77e3c93100c41942a1885241a1c98fa /src/corelib
parent8b64a1054ab5a428b7fcc4efad3ff31bc55dd7ed (diff)
Fix strict-prototypes warning with qVersion function
This is enabled by default with Xcode 9 and would therefore be seen by anyone calling this function from C or Objective-C. Task-number: QTBUG-63450 Change-Id: Iecd67017b6774c9f2fce2433002ff852058dd3ed Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qglobal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 6023cc8564..35c35ac64d 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -355,7 +355,7 @@ typedef double qreal;
#if !defined(QT_NAMESPACE) && defined(__cplusplus) && !defined(Q_QDOC)
extern "C"
#endif
-Q_CORE_EXPORT const char *qVersion() Q_DECL_NOTHROW;
+Q_CORE_EXPORT const char *qVersion(void) Q_DECL_NOTHROW;
#if defined(__cplusplus)