summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-09 02:34:18 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:40 +0100
commit8d5dc1c1245c81773768a64b11ad1c322e757a69 (patch)
treeec47193c5cc5b1e88603b7e87e302927e17d401e /src
parent79cb12807f8a092acd3323d407a4661db9c04a74 (diff)
Respect the signature requested by uds-c lib.
Change-Id: I7d7a96b45323f698e884c4db289370eec199d990 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r--src/diagnostic/diagnostic-manager.cpp2
-rw-r--r--src/diagnostic/diagnostic-manager.hpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/diagnostic/diagnostic-manager.cpp b/src/diagnostic/diagnostic-manager.cpp
index 501c05a5..45094075 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 8aa9240c..4414aa5e 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