From 768157866b60e465357effb98d5c4e291b0467b6 Mon Sep 17 00:00:00 2001 From: Arvid Ephraim Picciani Date: Mon, 30 Aug 2010 15:21:45 +0000 Subject: Add missing QT_BEGIN_NAMESPACE Reviewed-by: Olivier Goffart --- src/corelib/plugin/qelfparser_p.cpp | 5 +++++ src/corelib/plugin/qelfparser_p.h | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp index f815a77..571022f 100644 --- a/src/corelib/plugin/qelfparser_p.cpp +++ b/src/corelib/plugin/qelfparser_p.cpp @@ -38,9 +38,12 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ + #include "qlibrary_p.h" #include "qelfparser_p.h" +QT_BEGIN_NAMESPACE + // #define QELFPARSER_DEBUG 1 #include @@ -228,3 +231,5 @@ int QElfParser::parse(const char *dataStart, ulong fdlen, const QString &library return NoQtSection; } +QT_END_NAMESPACE + diff --git a/src/corelib/plugin/qelfparser_p.h b/src/corelib/plugin/qelfparser_p.h index 16c6a72..672122a 100644 --- a/src/corelib/plugin/qelfparser_p.h +++ b/src/corelib/plugin/qelfparser_p.h @@ -38,9 +38,26 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ + +#ifndef QELFPARSER_P_H +#define QELFPARSER_P_H + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include +QT_BEGIN_NAMESPACE + typedef quint16 qelfhalf_t; typedef quint32 qelfword_t; typedef quintptr qelfoff_t; @@ -77,3 +94,7 @@ public: int parse(const char *m_s, ulong fdlen, const QString &library, QLibraryPrivate *lib, long *pos, ulong *sectionlen); }; +QT_END_NAMESPACE + +#endif // QELFPARSER_P_H + -- cgit v0.12