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

gnrc_tcp: replace RIOT_FILE_RELATIVE with __FILE__

This commit is contained in:
Benjamin Valentin 2022-11-19 01:48:06 +01:00
parent 74a8911597
commit 7e91d91cea

View File

@ -120,7 +120,7 @@ extern "C" {
* @note Compilation units using TCP_DEBUG_ENTER must set ENABLE_DEBUG and include debug.h.
*/
#define TCP_DEBUG_ENTER DEBUG("GNRC_TCP: Enter \"%s\", File: %s(%d)\n", \
DEBUG_FUNC, RIOT_FILE_RELATIVE, __LINE__)
DEBUG_FUNC, __FILE__, __LINE__)
/**
* @brief Helper macro used to create debug message on function exit.
@ -128,7 +128,7 @@ extern "C" {
* @note Compilation units using TCP_DEBUG_LEAVE must set ENABLE_DEBUG and include debug.h.
*/
#define TCP_DEBUG_LEAVE DEBUG("GNRC_TCP: Leave \"%s\", File: %s(%d)\n", \
DEBUG_FUNC, RIOT_FILE_RELATIVE, __LINE__)
DEBUG_FUNC, __FILE__, __LINE__)
/**
* @brief Helper macro used to create debug message on error.
@ -136,7 +136,7 @@ extern "C" {
* @note Compilation units using TCP_DEBUG_ERROR must set ENABLE_DEBUG and include debug.h.
*/
#define TCP_DEBUG_ERROR(msg) DEBUG("GNRC_TCP: Error: \"%s\", Func: %s, File: %s(%d)\n", \
msg, DEBUG_FUNC, RIOT_FILE_RELATIVE, __LINE__)
msg, DEBUG_FUNC, __FILE__, __LINE__)
/**
* @brief Helper macro used to create informational debug message.
@ -144,7 +144,7 @@ extern "C" {
* @note Compilation units using TCP_DEBUG_INFO must set ENABLE_DEBUG and include debug.h.
*/
#define TCP_DEBUG_INFO(msg) DEBUG("GNRC_TCP: Info: \"%s\", Func: %s, File: %s(%d)\n", \
msg, DEBUG_FUNC, RIOT_FILE_RELATIVE, __LINE__)
msg, DEBUG_FUNC, __FILE__, __LINE__)
/**
* @brief TCB list type.