compiler: replaced noreturn by __noreturn__ in header files

* noreturn may be replaced by third-party macros,
  rendering it ineffective

* Closes https://github.com/espressif/esp-idf/issues/11339
This commit is contained in:
Jakob Hasse
2023-05-11 10:40:49 +08:00
committed by Marius Vikhammer
parent 82c6c8149c
commit a6cbf68991
15 changed files with 34 additions and 61 deletions

View File

@@ -217,7 +217,7 @@ static inline void rtc_suppress_rom_log(void)
*
* @return None
*/
void __attribute__((noreturn)) software_reset(void);
void __attribute__((__noreturn__)) software_reset(void);
/**
* @brief Software Reset digital core.