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/vm_websocket.hpp b/include/vm_websocket.hpp
index addef79..0c1e0c3 100644
--- a/include/vm_websocket.hpp
+++ b/include/vm_websocket.hpp
@@ -10,9 +10,6 @@
#include "logging.hpp"
#include "websocket.hpp"
-// NOLINTNEXTLINE(modernize-deprecated-headers)
-#include <signal.h>
-
#include <boost/asio/buffer.hpp>
#include <boost/asio/error.hpp>
#include <boost/asio/io_context.hpp>
@@ -75,6 +72,7 @@
{
// boost::process::child::terminate uses SIGKILL, need to send SIGTERM
// to allow the proxy to stop nbd-client and the USB device gadget.
+ // NOLINTNEXTLINE(misc-include-cleaner)
int rc = kill(proxy.id(), SIGTERM);
if (rc != 0)
{