From 9a63bf22d0f89f6170f5e7f6f0f643b239c93a61 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sat, 11 Nov 2023 17:12:51 -0500 Subject: [PATCH] face: add missing includes Change-Id: I2d855f71310e824205d37d892749c3eab9f5b3c3 --- daemon/face/generic-link-service.cpp | 3 ++- daemon/face/lp-fragmenter.cpp | 4 ++-- daemon/face/lp-reassembler.cpp | 6 ++++-- daemon/face/lp-reassembler.hpp | 3 ++- daemon/face/lp-reliability.cpp | 6 ++++-- tests/daemon/face/generic-link-service.t.cpp | 3 +-- tests/daemon/face/lp-fragmenter.t.cpp | 4 +++- tests/daemon/face/lp-reassembler.t.cpp | 4 +++- tests/daemon/face/lp-reliability.t.cpp | 5 +++-- tests/daemon/fw/pit-token.t.cpp | 3 ++- 10 files changed, 26 insertions(+), 15 deletions(-) diff --git a/daemon/face/generic-link-service.cpp b/daemon/face/generic-link-service.cpp index ed19eec1..21599e3d 100644 --- a/daemon/face/generic-link-service.cpp +++ b/daemon/face/generic-link-service.cpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -25,6 +25,7 @@ #include "generic-link-service.hpp" +#include #include #include diff --git a/daemon/face/lp-fragmenter.cpp b/daemon/face/lp-fragmenter.cpp index a9fcf175..f3875c86 100644 --- a/daemon/face/lp-fragmenter.cpp +++ b/daemon/face/lp-fragmenter.cpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -26,7 +26,7 @@ #include "lp-fragmenter.hpp" #include "link-service.hpp" -#include +#include namespace nfd::face { diff --git a/daemon/face/lp-reassembler.cpp b/daemon/face/lp-reassembler.cpp index 7f101bc3..4dd2b16b 100644 --- a/daemon/face/lp-reassembler.cpp +++ b/daemon/face/lp-reassembler.cpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -24,8 +24,10 @@ */ #include "lp-reassembler.hpp" -#include "link-service.hpp" #include "common/global.hpp" +#include "link-service.hpp" + +#include #include diff --git a/daemon/face/lp-reassembler.hpp b/daemon/face/lp-reassembler.hpp index 32b7e159..1908ccc3 100644 --- a/daemon/face/lp-reassembler.hpp +++ b/daemon/face/lp-reassembler.hpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -29,6 +29,7 @@ #include "face-common.hpp" #include +#include namespace nfd::face { diff --git a/daemon/face/lp-reliability.cpp b/daemon/face/lp-reliability.cpp index a3d25961..4019902e 100644 --- a/daemon/face/lp-reliability.cpp +++ b/daemon/face/lp-reliability.cpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -24,9 +24,11 @@ */ #include "lp-reliability.hpp" +#include "common/global.hpp" #include "generic-link-service.hpp" #include "transport.hpp" -#include "common/global.hpp" + +#include namespace nfd::face { diff --git a/tests/daemon/face/generic-link-service.t.cpp b/tests/daemon/face/generic-link-service.t.cpp index 8346a314..b9657938 100644 --- a/tests/daemon/face/generic-link-service.t.cpp +++ b/tests/daemon/face/generic-link-service.t.cpp @@ -31,8 +31,7 @@ #include "tests/daemon/global-io-fixture.hpp" #include "dummy-transport.hpp" -#include -#include +#include #include namespace nfd::tests { diff --git a/tests/daemon/face/lp-fragmenter.t.cpp b/tests/daemon/face/lp-fragmenter.t.cpp index 065fc6d0..5532ef3f 100644 --- a/tests/daemon/face/lp-fragmenter.t.cpp +++ b/tests/daemon/face/lp-fragmenter.t.cpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -27,6 +27,8 @@ #include "tests/test-common.hpp" +#include + namespace nfd::tests { using namespace nfd::face; diff --git a/tests/daemon/face/lp-reassembler.t.cpp b/tests/daemon/face/lp-reassembler.t.cpp index 073c3db7..67e4d559 100644 --- a/tests/daemon/face/lp-reassembler.t.cpp +++ b/tests/daemon/face/lp-reassembler.t.cpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -28,6 +28,8 @@ #include "tests/test-common.hpp" #include "tests/daemon/global-io-fixture.hpp" +#include + namespace nfd::tests { using namespace nfd::face; diff --git a/tests/daemon/face/lp-reliability.t.cpp b/tests/daemon/face/lp-reliability.t.cpp index 76a92db9..834cb780 100644 --- a/tests/daemon/face/lp-reliability.t.cpp +++ b/tests/daemon/face/lp-reliability.t.cpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -24,7 +24,6 @@ */ #include "face/lp-reliability.hpp" -#include "face/face.hpp" #include "face/generic-link-service.hpp" #include "tests/test-common.hpp" @@ -32,6 +31,8 @@ #include "dummy-face.hpp" #include "dummy-transport.hpp" +#include + #include #include diff --git a/tests/daemon/fw/pit-token.t.cpp b/tests/daemon/fw/pit-token.t.cpp index 1bf69683..9e2e1d6f 100644 --- a/tests/daemon/fw/pit-token.t.cpp +++ b/tests/daemon/fw/pit-token.t.cpp @@ -1,6 +1,6 @@ /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* - * Copyright (c) 2014-2022, Regents of the University of California, + * Copyright (c) 2014-2023, Regents of the University of California, * Arizona Board of Regents, * Colorado State University, * University Pierre & Marie Curie, Sorbonne University, @@ -26,6 +26,7 @@ #include "tests/daemon/global-io-fixture.hpp" #include "topology-tester.hpp" +#include #include #include