From 46dcd052513b61eab55bfaaabb2f1c194c484f16 Mon Sep 17 00:00:00 2001 From: temi54c1l8 Date: Tue, 11 Jun 2024 07:39:23 +0200 Subject: [PATCH] CO_SRDO: static analysis: function 'OD_not_write_same_value' defined without a prototype in scope [MISRA 2012 Rule 8.4, required] --- 304/CO_SRDO.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/304/CO_SRDO.c b/304/CO_SRDO.c index b0b0bb6..9eca107 100644 --- a/304/CO_SRDO.c +++ b/304/CO_SRDO.c @@ -142,7 +142,7 @@ OD_read_dummy(OD_stream_t *stream, void *buf, OD_size_t count, OD_size_t *countR } #ifdef CO_CONFORMANCE_TEST_TOOL_ADAPTATION -bool_t +static bool_t OD_not_write_same_value(OD_stream_t *stream, const void *buf, OD_size_t count) { // The conformance test tool does not recognize CANopen Safety and on all object dictionaty tries to read and write the same value OD_size_t countRead = 0;