abort __attribute__((error)) fix. for limit-encoder-reader->logging-cleanup
diff --git a/aos/common/logging/logging.h b/aos/common/logging/logging.h
index bb9af0d..e7f323f 100644
--- a/aos/common/logging/logging.h
+++ b/aos/common/logging/logging.h
@@ -9,7 +9,7 @@
 
 #ifdef __VXWORKS__
 // Because the vxworks system headers miss the noreturn...
-void abort(void) __attribute__((noreturn));
+extern "C" void abort(void) __attribute__((noreturn));
 #endif
 
 #ifdef __cplusplus