Could be my wrong understanding. Seems that the compiler thinks the APIs your code referenced is in C++, and in fact these functions are in C, I mean the calling style.
Since your code is in assembly, I'm not sure how to deal with that. But if your code is in C/C++,better use #ifdef __cplusplus.
For your own exported functions, better do it in this way, for example: