MLBEDSW-7002 Investigate output from code linter
Investigated all code linter output and fixed non-intentional
reports.
Change-Id: If49d6df8fe1a8a6ae4f1e28de4889a8c5763a0b3
Signed-off-by: Fredrik Svedberg <fredrik.svedberg@arm.com>
diff --git a/ethosu/mlw_codec/mlw_decode.h b/ethosu/mlw_codec/mlw_decode.h
index df5dfab..77df4e1 100644
--- a/ethosu/mlw_codec/mlw_decode.h
+++ b/ethosu/mlw_codec/mlw_decode.h
@@ -18,13 +18,13 @@
#include <stdint.h>
-#ifndef __MLW_DECODE_H__
-#define __MLW_DECODE_H__
+#ifndef MLW_DECODE_H
+#define MLW_DECODE_H
#ifdef _MSC_VER
- #define EXPORTED __declspec(dllexport)
+ #define MLW_DECODE_EXPORTED __declspec(dllexport)
#else
- #define EXPORTED __attribute__((visibility("default")))
+ #define MLW_DECODE_EXPORTED __attribute__((visibility("default")))
#endif
#if __cplusplus
@@ -32,7 +32,7 @@
{
#endif
-EXPORTED
+MLW_DECODE_EXPORTED
int mlw_decode(uint8_t *inbuf, int inbuf_size, int16_t **outbuf, int verbose);
#if __cplusplus