diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-09-15 16:51:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-15 23:54:23 +0200 |
commit | 9bedada232fb821f1fba2c1bdbd24702947dcaed (patch) | |
tree | 70c4847bc269eb4551a05afc6b0de16d168b7575 /src/gui/painting | |
parent | 7329ad3ee59fedc68758289677f3ece617858708 (diff) |
gui/opengl: 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: I29b41e9d33e4ea17165f44c49de0a963574dd809
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qdrawhelper_mips_dsp_p.h | 6 | ||||
-rw-r--r-- | src/gui/painting/qt_mips_asm_dsp.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/painting/qdrawhelper_mips_dsp_p.h b/src/gui/painting/qdrawhelper_mips_dsp_p.h index 818b27ce21..7988471b38 100644 --- a/src/gui/painting/qdrawhelper_mips_dsp_p.h +++ b/src/gui/painting/qdrawhelper_mips_dsp_p.h @@ -39,8 +39,8 @@ ** ****************************************************************************/ -#ifndef QDRAWHELPER_MIPS_P_H -#define QDRAWHELPER_MIPS_P_H +#ifndef QDRAWHELPER_MIPS_DSP_P_H +#define QDRAWHELPER_MIPS_DSP_P_H #include <private/qdrawhelper_p.h> @@ -164,4 +164,4 @@ extern "C" void qConvertRgb16To32_asm_mips_dspr2(quint32 *dest, const quint16 * QT_END_NAMESPACE -#endif // QDRAWHELPER_MIPS_P_H +#endif // QDRAWHELPER_MIPS_DSP_P_H diff --git a/src/gui/painting/qt_mips_asm_dsp.h b/src/gui/painting/qt_mips_asm_dsp.h index 088831f6e4..fb5dc4f052 100644 --- a/src/gui/painting/qt_mips_asm_dsp.h +++ b/src/gui/painting/qt_mips_asm_dsp.h @@ -39,8 +39,8 @@ ** ****************************************************************************/ -#ifndef QT_MIPS_DSP_H__ -#define QT_MIPS_DSP_H__ +#ifndef QT_MIPS_ASM_DSP_H +#define QT_MIPS_ASM_DSP_H #define zero $0 #define AT $1 @@ -246,4 +246,4 @@ LEAF_MIPS32R2(symbol) \ or \out_1, \scratch1, \scratch3 .endm -#endif //QT_MIPS_DSP_H__ +#endif // QT_MIPS_ASM_DSP_H |