Slim down `common.hpp`
Change-Id: Ic9843a1b9ffc5b5b1fa6062c8250ba28c6aaa898
diff --git a/core/common.hpp b/core/common.hpp
index 06e4fe1..e76cb12 100644
--- a/core/common.hpp
+++ b/core/common.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-2024, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -40,42 +40,23 @@
#include <cstddef>
#include <cstdint>
-#include <functional>
-#include <iostream>
-#include <limits>
+#include <iosfwd>
#include <memory>
-#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include <utility>
-#include <vector>
#include <boost/assert.hpp>
#include <boost/core/noncopyable.hpp>
-#include <boost/lexical_cast.hpp>
#include <ndn-cxx/data.hpp>
-#include <ndn-cxx/face.hpp>
#include <ndn-cxx/interest.hpp>
#include <ndn-cxx/name.hpp>
-#include <ndn-cxx/security/key-chain.hpp>
-#include <ndn-cxx/util/backports.hpp>
-#include <ndn-cxx/util/exception.hpp>
-#include <ndn-cxx/util/scheduler.hpp>
#include <ndn-cxx/util/time.hpp>
namespace ndn {
-
-using std::shared_ptr;
-using std::unique_ptr;
-using std::make_shared;
-using std::make_unique;
-
-using std::size_t;
-
using boost::noncopyable;
-
} // namespace ndn
#define FORWARD_TO_MEM_FN(func) \
diff --git a/core/program-options-ext.hpp b/core/program-options-ext.hpp
index 16b4e41..a505ece 100644
--- a/core/program-options-ext.hpp
+++ b/core/program-options-ext.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-2024, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -28,6 +28,7 @@
#include <ndn-cxx/name.hpp>
#include <boost/program_options/value_semantic.hpp>
+#include <vector>
namespace ndn {
diff --git a/core/version.hpp b/core/version.hpp
index 2a20a1a..3b937fc 100644
--- a/core/version.hpp
+++ b/core/version.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, Arizona Board of Regents.
+ * Copyright (c) 2014-2024, Arizona Board of Regents.
*
* This file is part of ndn-tools (Named Data Networking Essential Tools).
* See AUTHORS.md for complete list of ndn-tools authors and contributors.
@@ -20,8 +20,6 @@
#ifndef NDN_TOOLS_CORE_VERSION_HPP
#define NDN_TOOLS_CORE_VERSION_HPP
-#include "core/common.hpp"
-
namespace ndn::tools {
/**