aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-11-28 18:04:32 -0800
committerJake Petroules <jake.petroules@qt.io>2016-11-30 11:18:44 +0000
commita05604a1ad38158b88193f7ba575b4258ef3b75e (patch)
treedc8d61854c64f924dd0e2852a852ecd71440ad1b /src/app
parent71173d00063a44773f7bd6bb40e0d622c069f013 (diff)
Add or improve header guards for some files
Header guards should be present for all header files and also be unique project-wide. Change-Id: I9943f471792f2944ccfe04cfccef23140cbdf555 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r--src/app/qbs/parser/command.h6
-rw-r--r--src/app/qbs/qbstool.h5
2 files changed, 8 insertions, 3 deletions
diff --git a/src/app/qbs/parser/command.h b/src/app/qbs/parser/command.h
index 7b04bbe9a..3a3d6f981 100644
--- a/src/app/qbs/parser/command.h
+++ b/src/app/qbs/parser/command.h
@@ -36,8 +36,8 @@
** $QT_END_LICENSE$
**
****************************************************************************/
-#ifndef QBS_COMMAND_H
-#define QBS_COMMAND_H
+#ifndef QBS_PARSER_COMMAND_H
+#define QBS_PARSER_COMMAND_H
#include "commandlineoption.h"
#include "commandtype.h"
@@ -231,4 +231,4 @@ private:
} // namespace qbs
-#endif // QBS_COMMAND_H
+#endif // QBS_PARSER_COMMAND_H
diff --git a/src/app/qbs/qbstool.h b/src/app/qbs/qbstool.h
index b6c5b7ef5..1cbe08a17 100644
--- a/src/app/qbs/qbstool.h
+++ b/src/app/qbs/qbstool.h
@@ -37,6 +37,9 @@
**
****************************************************************************/
+#ifndef QBS_QBSTOOL_H
+#define QBS_QBSTOOL_H
+
#include <QStringList>
class QbsTool
@@ -59,3 +62,5 @@ private:
QString m_stdout;
QString m_stderr;
};
+
+#endif // QBS_QBSTOOL_H