From 70317569c6dcd9809ed4a8c425777e653ec6ca08 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 May 2017 18:24:31 +0300 Subject: Add hxx extension for headers --- build2/pkgconfig/init | 37 ------------------------------------- build2/pkgconfig/init.cxx | 12 ++++++------ build2/pkgconfig/init.hxx | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 build2/pkgconfig/init create mode 100644 build2/pkgconfig/init.hxx (limited to 'build2/pkgconfig') diff --git a/build2/pkgconfig/init b/build2/pkgconfig/init deleted file mode 100644 index 5dac923..0000000 --- a/build2/pkgconfig/init +++ /dev/null @@ -1,37 +0,0 @@ -// file : build2/pkgconfig/init -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_PKGCONFIG_INIT -#define BUILD2_PKGCONFIG_INIT - -#include -#include - -#include - -namespace build2 -{ - namespace pkgconfig - { - bool - config_init (scope&, - scope&, - const location&, - unique_ptr&, - bool, - bool, - const variable_map&); - - bool - init (scope&, - scope&, - const location&, - unique_ptr&, - bool, - bool, - const variable_map&); - } -} - -#endif // BUILD2_PKGCONFIG_INIT diff --git a/build2/pkgconfig/init.cxx b/build2/pkgconfig/init.cxx index 352e845..fa22421 100644 --- a/build2/pkgconfig/init.cxx +++ b/build2/pkgconfig/init.cxx @@ -2,14 +2,14 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include +#include -#include -#include -#include -#include +#include +#include +#include +#include -#include +#include using namespace std; using namespace butl; diff --git a/build2/pkgconfig/init.hxx b/build2/pkgconfig/init.hxx new file mode 100644 index 0000000..eed224f --- /dev/null +++ b/build2/pkgconfig/init.hxx @@ -0,0 +1,37 @@ +// file : build2/pkgconfig/init.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BUILD2_PKGCONFIG_INIT_HXX +#define BUILD2_PKGCONFIG_INIT_HXX + +#include +#include + +#include + +namespace build2 +{ + namespace pkgconfig + { + bool + config_init (scope&, + scope&, + const location&, + unique_ptr&, + bool, + bool, + const variable_map&); + + bool + init (scope&, + scope&, + const location&, + unique_ptr&, + bool, + bool, + const variable_map&); + } +} + +#endif // BUILD2_PKGCONFIG_INIT_HXX -- cgit v1.1