aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-06-02 19:49:35 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-06-03 21:19:13 +0800
commitb8a211d6d1a383114a2aa275bf682c32d1f723a3 (patch)
tree23a9ccf9d0f7d2da21930b6c4a8d88b8c73630e4 /utils
parentMerge remote-tracking branch 'mu/keyword_test' into review (diff)
downloadlibbash-b8a211d6d1a383114a2aa275bf682c32d1f723a3.tar.gz
libbash-b8a211d6d1a383114a2aa275bf682c32d1f723a3.tar.bz2
libbash-b8a211d6d1a383114a2aa275bf682c32d1f723a3.zip
Core: fix header ordering
We want every header file to be compilable on its own. The easiest way to achieve this is to make sure that every one of them is the first .h file #included in some .cpp.
Diffstat (limited to 'utils')
-rw-r--r--utils/metadata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/metadata.cpp b/utils/metadata.cpp
index e200ab3..ed07092 100644
--- a/utils/metadata.cpp
+++ b/utils/metadata.cpp
@@ -20,6 +20,8 @@
/// \file metadata.cpp
/// \brief a helper for printing metadata content
///
+#include "utils/metadata.h"
+
#include <set>
#include <boost/spirit/include/karma.hpp>
@@ -27,8 +29,6 @@
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/trim.hpp>
-#include "utils/metadata.h"
-
static const std::vector<std::string> metadata_names = {"DEPEND", "RDEPEND", "SLOT", "SRC_URI",
"RESTRICT", "HOMEPAGE", "LICENSE", "DESCRIPTION",
"KEYWORDS", "INHERITED", "IUSE", "REQUIRED_USE",