1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

core/assert.h: doxygen brief for __NORETURN

This commit is contained in:
Karl Fessel 2022-02-15 10:34:54 +01:00
parent 29caf39a9a
commit ca112c224a

View File

@ -50,10 +50,13 @@ extern "C" {
/**
* @def __NORETURN
* @brief hidden (__) NORETURN definition
* @internal
*
* Duplicating the definitions of kernel_defines.h as these are unsuitable for
* system header files like the assert.h.
* kernel_defines.h would define symbols that are not reserved. */
* kernel_defines.h would define symbols that are not reserved.
*/
#ifndef __NORETURN
#ifdef __GNUC__
#define __NORETURN __attribute__((noreturn))