From cdbf3a5e82bda23563d97558eda94a89a6191cab Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 May 2017 17:31:42 +0300 Subject: Adapt to adding hxx extension for headers and lib prefix for library dir in libbutl --- bpkg/archive.cxx | 4 ++-- bpkg/archive.hxx | 2 +- bpkg/auth.cxx | 10 +++++----- bpkg/cfg-create.cxx | 2 +- bpkg/checksum.cxx | 6 +++--- bpkg/diagnostics.cxx | 2 +- bpkg/diagnostics.hxx | 2 +- bpkg/fetch.cxx | 8 ++++---- bpkg/help.cxx | 2 +- bpkg/openssl.cxx | 2 +- bpkg/openssl.hxx | 2 +- bpkg/package.hxx | 6 +++--- bpkg/pkg-unpack.cxx | 2 +- bpkg/pkg-verify.cxx | 6 +++--- bpkg/rep-create.cxx | 6 +++--- bpkg/rep-info.cxx | 4 ++-- bpkg/satisfaction.cxx | 4 ++-- bpkg/types.hxx | 8 ++++---- bpkg/utility.cxx | 4 ++-- bpkg/utility.hxx | 8 ++++---- bpkg/version.hxx.in | 2 +- bpkg/wrapper-traits.hxx | 2 +- 22 files changed, 47 insertions(+), 47 deletions(-) (limited to 'bpkg') diff --git a/bpkg/archive.cxx b/bpkg/archive.cxx index 4ad996f..ce62fab 100644 --- a/bpkg/archive.cxx +++ b/bpkg/archive.cxx @@ -4,8 +4,8 @@ #include -#include -#include +#include +#include #include diff --git a/bpkg/archive.hxx b/bpkg/archive.hxx index 44f7a7b..281827d 100644 --- a/bpkg/archive.hxx +++ b/bpkg/archive.hxx @@ -5,7 +5,7 @@ #ifndef BPKG_ARCHIVE_HXX #define BPKG_ARCHIVE_HXX -#include +#include #include #include diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index 7cba934..b60e998 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -9,11 +9,11 @@ #include // strlen(), strcmp() #include // ostreambuf_iterator, istreambuf_iterator -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index 6f12d55..df7d779 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -4,7 +4,7 @@ #include -#include +#include #include #include diff --git a/bpkg/checksum.cxx b/bpkg/checksum.cxx index d70446b..2e639ef 100644 --- a/bpkg/checksum.cxx +++ b/bpkg/checksum.cxx @@ -6,9 +6,9 @@ #include -#include -#include -#include +#include +#include +#include #include diff --git a/bpkg/diagnostics.cxx b/bpkg/diagnostics.cxx index 9eaf118..16dcc46 100644 --- a/bpkg/diagnostics.cxx +++ b/bpkg/diagnostics.cxx @@ -9,7 +9,7 @@ #include -#include +#include using namespace std; using namespace butl; diff --git a/bpkg/diagnostics.hxx b/bpkg/diagnostics.hxx index 64eecd9..8edf606 100644 --- a/bpkg/diagnostics.hxx +++ b/bpkg/diagnostics.hxx @@ -7,7 +7,7 @@ #include -#include +#include #include #include diff --git a/bpkg/fetch.cxx b/bpkg/fetch.cxx index 71be02b..a0c3b9c 100644 --- a/bpkg/fetch.cxx +++ b/bpkg/fetch.cxx @@ -6,10 +6,10 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include diff --git a/bpkg/help.cxx b/bpkg/help.cxx index 61152b3..16a743c 100644 --- a/bpkg/help.cxx +++ b/bpkg/help.cxx @@ -4,7 +4,7 @@ #include -#include +#include #include #include diff --git a/bpkg/openssl.cxx b/bpkg/openssl.cxx index e8de30b..5a1e29c 100644 --- a/bpkg/openssl.cxx +++ b/bpkg/openssl.cxx @@ -4,7 +4,7 @@ #include -#include +#include #include diff --git a/bpkg/openssl.hxx b/bpkg/openssl.hxx index 30671ae..8023db6 100644 --- a/bpkg/openssl.hxx +++ b/bpkg/openssl.hxx @@ -5,7 +5,7 @@ #ifndef BPKG_OPENSSL_HXX #define BPKG_OPENSSL_HXX -#include +#include #include #include diff --git a/bpkg/package.hxx b/bpkg/package.hxx index 2a68d7c..1236357 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include @@ -68,8 +68,8 @@ namespace bpkg std::chrono::nanoseconds::period>::value, "The following timestamp ODB mapping is invalid"); - // As pointed out in butl/timestamp we will overflow in year 2262, but by - // that time some larger basic type will be available for mapping. + // As pointed out in libbutl/timestamp.hxx we will overflow in year 2262, but + // by that time some larger basic type will be available for mapping. // #pragma db map type(timestamp) as(uint64_t) \ to(std::chrono::duration_cast ( \ diff --git a/bpkg/pkg-unpack.cxx b/bpkg/pkg-unpack.cxx index 21883d9..56e8619 100644 --- a/bpkg/pkg-unpack.cxx +++ b/bpkg/pkg-unpack.cxx @@ -4,7 +4,7 @@ #include -#include +#include #include diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx index e4535f3..fca6e6d 100644 --- a/bpkg/pkg-verify.cxx +++ b/bpkg/pkg-verify.cxx @@ -4,9 +4,9 @@ #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index b38d418..49d49f4 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -6,9 +6,9 @@ #include -#include -#include // dir_iterator -#include +#include +#include // dir_iterator +#include #include diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index 7dbb0f9..50dd146 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -6,8 +6,8 @@ #include // cout -#include // sha256_to_fingerprint() -#include +#include // sha256_to_fingerprint() +#include #include diff --git a/bpkg/satisfaction.cxx b/bpkg/satisfaction.cxx index 7bcf1fd..ca83f51 100644 --- a/bpkg/satisfaction.cxx +++ b/bpkg/satisfaction.cxx @@ -4,8 +4,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/bpkg/types.hxx b/bpkg/types.hxx index 37c38e5..31c325c 100644 --- a/bpkg/types.hxx +++ b/bpkg/types.hxx @@ -22,8 +22,8 @@ #include -#include -#include +#include +#include namespace bpkg { @@ -63,7 +63,7 @@ namespace bpkg using std::system_error; using io_error = std::ios_base::failure; - // + // // using butl::optional; using butl::nullopt; @@ -73,7 +73,7 @@ namespace bpkg using odb::lazy_shared_ptr; using odb::lazy_weak_ptr; - // + // // using butl::path; using butl::dir_path; diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx index c538035..842a311 100644 --- a/bpkg/utility.cxx +++ b/bpkg/utility.cxx @@ -6,8 +6,8 @@ #include // cout, cin -#include -#include +#include +#include #include #include diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx index c84b466..3314393 100644 --- a/bpkg/utility.hxx +++ b/bpkg/utility.hxx @@ -11,11 +11,11 @@ #include // assert() #include // make_move_iterator() -#include +#include -#include // casecmp(), reverse_iterate(), etc +#include // casecmp(), reverse_iterate(), etc -#include +#include #include #include @@ -31,7 +31,7 @@ namespace bpkg using std::make_move_iterator; using std::to_string; - // + // // using butl::casecmp; using butl::reverse_iterate; diff --git a/bpkg/version.hxx.in b/bpkg/version.hxx.in index b51b69e..f6ca7c3 100644 --- a/bpkg/version.hxx.in +++ b/bpkg/version.hxx.in @@ -37,7 +37,7 @@ #define BPKG_SNAPSHOT $bpkg.version.snapshot_sn$ULL #define BPKG_SNAPSHOT_ID "$bpkg.version.snapshot_id$" -#include +#include $libbutl.check(LIBBUTL_VERSION, LIBBUTL_SNAPSHOT)$ diff --git a/bpkg/wrapper-traits.hxx b/bpkg/wrapper-traits.hxx index bdd0861..1aed8ae 100644 --- a/bpkg/wrapper-traits.hxx +++ b/bpkg/wrapper-traits.hxx @@ -5,7 +5,7 @@ #ifndef BPKG_WRAPPER_TRAITS_HXX #define BPKG_WRAPPER_TRAITS_HXX -#include +#include #include -- cgit v1.1