Respect the signature requested by uds-c lib.
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Mar 2017 01:34:18 +0000 (02:34 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:10:40 +0000 (17:10 +0100)
Change-Id: I7d7a96b45323f698e884c4db289370eec199d990
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/diagnostic/diagnostic-manager.cpp
src/diagnostic/diagnostic-manager.hpp

index 501c05a..4509407 100644 (file)
@@ -23,7 +23,7 @@ diagnostic_manager_t::diagnostic_manager_t(can_bus_dev_t& bus)
        : bus_(bus)
 {}
 
-void diagnostic_manager_t::shims_logger(const char* m)
+void diagnostic_manager_t::shims_logger(const char* m, ...)
 {
        DEBUG(binder_interface, "%s", m);
 }
index 8aa9240..4414aa5 100644 (file)
@@ -39,8 +39,8 @@
  */
 class diagnostic_manager_t {
        protected:
-       void shims_logger(const char* m);
-       void shims_timer();
+       static void shims_logger(const char* m, ...);
+       static void shims_timer();
 
        private:
                DiagnosticShims shims_; /*!< shims_ - An array of shim functions for each CAN bus that plug the diagnostics