This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

type qualifier on return type is meaningless

I ported a a firmware from IAR Embedded Workbench to Kiel version 4

I get this warning after building the project in Kiel but not in IAR Warning: #815-D: type qualifier on return type is meaningless.

extern const LonNvDescription* const LonGetNvTable(void);

extern const LonApiError LonPollNv(const unsigned index);

what is the correct way to define this type of function