Use specific misc-include-cleaner statement
There are a few places that which clang-tidy seems reporting
false-positives and which can be suppressed either via using
`modernize-deprecated-headers` or more targeted inline
`misc-include-cleaner` statement.
Tested: Compiles
Change-Id: Ib609adbe8619f4b9a84e08388eea1e7cee58aa54
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
diff --git a/include/sessions.hpp b/include/sessions.hpp
index 33d9c5b..6e00778 100644
--- a/include/sessions.hpp
+++ b/include/sessions.hpp
@@ -8,11 +8,6 @@
#include "ossl_random.hpp"
#include "utils/ip_utils.hpp"
-// misc-include-cleaner complains if this isn't included,
-// modernize-deprecated-headers complains if it is included.
-// NOLINTNEXTLINE(modernize-deprecated-headers)
-#include <signal.h>
-
#include <boost/asio/ip/address.hpp>
#include <nlohmann/json.hpp>
@@ -422,6 +417,7 @@
if (isTLSchanged)
{
// recreate socket connections with new settings
+ // NOLINTNEXTLINE(misc-include-cleaner)
std::raise(SIGHUP);
}
}