]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1_FreedomStudio/freedom-metal/src/shutdown.c
Update RISCC-V-RV32-SiFive_HiFive1_FreedomStudio project to latest tools and metal...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1_FreedomStudio / freedom-metal / src / shutdown.c
index 0e530b60543c7c12e507437fb5ca8e5c7feca62e..c3b5255a7a39661892ee7259f46aa9e8ff8d744e 100644 (file)
@@ -4,7 +4,7 @@
 #include <metal/machine.h>
 #include <metal/shutdown.h>
 
-extern inline void __metal_shutdown_exit(const struct __metal_shutdown *sd, int code);
+extern __inline__ void __metal_shutdown_exit(const struct __metal_shutdown *sd, int code);
 
 #if defined(__METAL_DT_SHUTDOWN_HANDLE)
 void metal_shutdown(int code)
@@ -12,7 +12,7 @@ void metal_shutdown(int code)
     __metal_shutdown_exit(__METAL_DT_SHUTDOWN_HANDLE, code);
 }
 #else
-# warning "There is no defined shutdown mechanism, metal_shutdown() will spin."
+#pragma message("There is no defined shutdown mechanism, metal_shutdown() will spin.")
 void metal_shutdown(int code)
 {
     while (1) {