Add modernize-redundant-void-arg

Enable this check and fix the failures.

Change-Id: I89b13daf1161be40564367562bb9c8c0c459e1d0
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/ExternalSensor.cpp b/src/ExternalSensor.cpp
index 1717e49..9a7a690 100644
--- a/src/ExternalSensor.cpp
+++ b/src/ExternalSensor.cpp
@@ -114,12 +114,12 @@
     }
 }
 
-void ExternalSensor::checkThresholds(void)
+void ExternalSensor::checkThresholds()
 {
     thresholds::checkThresholds(this);
 }
 
-bool ExternalSensor::isAliveAndPerishable(void) const
+bool ExternalSensor::isAliveAndPerishable() const
 {
     return (writeAlive && writePerishable);
 }
@@ -151,7 +151,7 @@
     writeAlive = true;
 }
 
-void ExternalSensor::writeInvalidate(void)
+void ExternalSensor::writeInvalidate()
 {
     writeAlive = false;
 
@@ -182,7 +182,7 @@
     return (writeTimeout - ageElapsed(now));
 }
 
-void ExternalSensor::externalSetTrigger(void)
+void ExternalSensor::externalSetTrigger()
 {
     if constexpr (debug)
     {