1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-14 09:03:50 +01:00
JerelJr 04dafd5618 core: replace header guards with #pragma once
core/lib/include/ringbuffer.h: removed trailing newline

core/lib/include/irq.h: restored header guard for irq.h to resolve build errors

core/lib/include/irq.h: added trailing newline to irq.h
2025-04-15 14:55:38 -04:00

44 lines
723 B
C

/*
* Copyright (C) 2019 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#pragma once
/**
* @ingroup core_macros
* @{
*
* @file
* @brief Macro to return string representation of x
*
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @def XTSTR
*
* @brief A macro to return the string representation of x
*/
#ifndef XTSTR
# ifndef DOXYGEN
# define _XTSTR(x) # x
# endif /* DOXYGEN */
# define XTSTR(x) _XTSTR(x)
#endif /* XTSTR */
#ifdef __cplusplus
}
#endif
/** @} */