diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-19T14·54+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-19T14·55+0100 |
commit | c758de9d22506eb279c5abe61f621e5c8f61af95 (patch) | |
tree | 3b1703133f56f7e301f538014dc7e41713a2e980 /third_party/nix/src/libmain | |
parent | b508f5b91a1b0c7009dcafb23114fff8d6020765 (diff) |
style(3p/nix): Reformat all includes to match new style r/766
Diffstat (limited to 'third_party/nix/src/libmain')
-rw-r--r-- | third_party/nix/src/libmain/common-args.cc | 2 | ||||
-rw-r--r-- | third_party/nix/src/libmain/shared.cc | 15 | ||||
-rw-r--r-- | third_party/nix/src/libmain/shared.hh | 4 | ||||
-rw-r--r-- | third_party/nix/src/libmain/stack.cc | 6 |
4 files changed, 18 insertions, 9 deletions
diff --git a/third_party/nix/src/libmain/common-args.cc b/third_party/nix/src/libmain/common-args.cc index bbd73cc840fa..9863eda63bf1 100644 --- a/third_party/nix/src/libmain/common-args.cc +++ b/third_party/nix/src/libmain/common-args.cc @@ -1,5 +1,7 @@ #include "common-args.hh" + #include <glog/logging.h> + #include "globals.hh" namespace nix { diff --git a/third_party/nix/src/libmain/shared.cc b/third_party/nix/src/libmain/shared.cc index fee18c5f1a05..05ae04714fd0 100644 --- a/third_party/nix/src/libmain/shared.cc +++ b/third_party/nix/src/libmain/shared.cc @@ -1,16 +1,19 @@ #include "shared.hh" -#include <glog/logging.h> -#include <openssl/crypto.h> -#include <signal.h> -#include <sys/stat.h> -#include <sys/time.h> -#include <unistd.h> + #include <algorithm> #include <cctype> #include <cstdlib> #include <exception> #include <iostream> #include <mutex> + +#include <glog/logging.h> +#include <openssl/crypto.h> +#include <signal.h> +#include <sys/stat.h> +#include <sys/time.h> +#include <unistd.h> + #include "globals.hh" #include "store-api.hh" #include "util.hh" diff --git a/third_party/nix/src/libmain/shared.hh b/third_party/nix/src/libmain/shared.hh index 68d4c49cf6ff..2f9bc1a72ab0 100644 --- a/third_party/nix/src/libmain/shared.hh +++ b/third_party/nix/src/libmain/shared.hh @@ -1,7 +1,9 @@ #pragma once -#include <signal.h> #include <locale> + +#include <signal.h> + #include "args.hh" #include "common-args.hh" #include "util.hh" diff --git a/third_party/nix/src/libmain/stack.cc b/third_party/nix/src/libmain/stack.cc index 621542d2198a..39866bb48248 100644 --- a/third_party/nix/src/libmain/stack.cc +++ b/third_party/nix/src/libmain/stack.cc @@ -1,8 +1,10 @@ -#include <signal.h> -#include <unistd.h> #include <cstddef> #include <cstdlib> #include <cstring> + +#include <signal.h> +#include <unistd.h> + #include "types.hh" namespace nix { |