diff --git a/miosix/interfaces/interrupts.h b/miosix/interfaces/interrupts.h
index b3d3596df2b293f1aa80adc36c3ed9ba1ed085c2..da381076a6de4a6fed394e9cbe4596d49dabf980 100644
--- a/miosix/interfaces/interrupts.h
+++ b/miosix/interfaces/interrupts.h
@@ -230,13 +230,13 @@ inline void fastEnableInterrupts() noexcept;
  */
 bool areInterruptsEnabled() noexcept;
 
-void globalInterruptLock() noexcept;
-void globalInterruptUnlock() noexcept;
+inline void globalInterruptLock() noexcept;
+inline void globalInterruptUnlock() noexcept;
 
 #ifndef WITH_SMP
 
-void globalInterruptLock() {}
-void globalInterruptUnlock() {}
+inline void globalInterruptLock() noexcept {}
+inline void globalInterruptUnlock() noexcept {}
 
 #endif