diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-09 02:34:18 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 17:10:40 +0100 |
commit | 8d5dc1c1245c81773768a64b11ad1c322e757a69 (patch) | |
tree | ec47193c5cc5b1e88603b7e87e302927e17d401e | |
parent | 79cb12807f8a092acd3323d407a4661db9c04a74 (diff) |
Respect the signature requested by uds-c lib.
Change-Id: I7d7a96b45323f698e884c4db289370eec199d990
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | src/diagnostic/diagnostic-manager.cpp | 2 | ||||
-rw-r--r-- | src/diagnostic/diagnostic-manager.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/diagnostic/diagnostic-manager.cpp b/src/diagnostic/diagnostic-manager.cpp index 501c05a..4509407 100644 --- a/src/diagnostic/diagnostic-manager.cpp +++ b/src/diagnostic/diagnostic-manager.cpp @@ -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); } diff --git a/src/diagnostic/diagnostic-manager.hpp b/src/diagnostic/diagnostic-manager.hpp index 8aa9240..4414aa5 100644 --- a/src/diagnostic/diagnostic-manager.hpp +++ b/src/diagnostic/diagnostic-manager.hpp @@ -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 |