summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2012-09-05 12:40:51 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-09 08:50:48 +0200
commit15eeb0e7dc300877a80b34eb4764502df85901ed (patch)
tree64e4274bc0013f078466b700570d636567621e69 /src/corelib/kernel
parentf67d23d4fc4bc6d915f8b2c085998ddc2f6365fe (diff)
Fix missing or improper include guard in headers
Use an include guard in headers to ensure the header is not included more than once. Make the header guard match its file name. Change-Id: Icf7d7d4bed91443b3b21ef5d4219dbd260dffef3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qfunctions_nacl.h6
-rw-r--r--src/corelib/kernel/qfunctions_wince.h6
-rw-r--r--src/corelib/kernel/qmetaobjectbuilder_p.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/corelib/kernel/qfunctions_nacl.h b/src/corelib/kernel/qfunctions_nacl.h
index 955a32c5d1..ee48ffb421 100644
--- a/src/corelib/kernel/qfunctions_nacl.h
+++ b/src/corelib/kernel/qfunctions_nacl.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QNACLUNIMPLEMENTED_H
-#define QNACLUNIMPLEMENTED_H
+#ifndef QFUNCTIONS_NACL_H
+#define QFUNCTIONS_NACL_H
#ifdef Q_OS_NACL
@@ -93,4 +93,4 @@ QT_END_HEADER
#endif //Q_OS_NACL
-#endif //QNACLUNIMPLEMENTED_H
+#endif //QFUNCTIONS_NACL_H
diff --git a/src/corelib/kernel/qfunctions_wince.h b/src/corelib/kernel/qfunctions_wince.h
index bc2124897d..c84687ac68 100644
--- a/src/corelib/kernel/qfunctions_wince.h
+++ b/src/corelib/kernel/qfunctions_wince.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QFUNCTIONS_WCE_H
-#define QFUNCTIONS_WCE_H
+#ifndef QFUNCTIONS_WINCE_H
+#define QFUNCTIONS_WINCE_H
#ifdef Q_OS_WINCE
#include <stdio.h>
#include <stdlib.h>
@@ -457,4 +457,4 @@ generate_inline_return_func5(bsearch, void *, const void *, const void *, size_t
#endif //__cplusplus
#endif // Q_OS_WINCE
-#endif // QFUNCTIONS_WCE_H
+#endif // QFUNCTIONS_WINCE_H
diff --git a/src/corelib/kernel/qmetaobjectbuilder_p.h b/src/corelib/kernel/qmetaobjectbuilder_p.h
index 7c18298d35..7c8859b9e6 100644
--- a/src/corelib/kernel/qmetaobjectbuilder_p.h
+++ b/src/corelib/kernel/qmetaobjectbuilder_p.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QMETAOBJECTBUILDER_H
-#define QMETAOBJECTBUILDER_H
+#ifndef QMETAOBJECTBUILDER_P_H
+#define QMETAOBJECTBUILDER_P_H
//
// W A R N I N G