From b043bfd3f573441df1114b2eee5c9a027dd28bf6 Mon Sep 17 00:00:00 2001 From: Marios Stamatopoulos Date: Tue, 30 Aug 2022 15:49:22 +0200 Subject: [PATCH] DTR Renaming p2p_interface file --- examples/app_p2p_DTR/src/p2p_DTR_app.c | 2 +- .../interface/p2pDTR/{p2p_interface.h => DTR_p2p_interface.h} | 2 +- src/modules/interface/p2pDTR/token_ring.h | 2 +- src/modules/src/Kbuild | 2 +- .../src/p2pDTR/{p2p_interface.c => DTR_p2p_interface.c} | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) rename src/modules/interface/p2pDTR/{p2p_interface.h => DTR_p2p_interface.h} (98%) rename src/modules/src/p2pDTR/{p2p_interface.c => DTR_p2p_interface.c} (98%) diff --git a/examples/app_p2p_DTR/src/p2p_DTR_app.c b/examples/app_p2p_DTR/src/p2p_DTR_app.c index 7c0dc1a2e1..f36b220675 100644 --- a/examples/app_p2p_DTR/src/p2p_DTR_app.c +++ b/examples/app_p2p_DTR/src/p2p_DTR_app.c @@ -44,7 +44,7 @@ #include "debug.h" #include "token_ring.h" -#include "p2p_interface.h" +#include "DTR_p2p_interface.h" #define INTERESTING_DATA 104 diff --git a/src/modules/interface/p2pDTR/p2p_interface.h b/src/modules/interface/p2pDTR/DTR_p2p_interface.h similarity index 98% rename from src/modules/interface/p2pDTR/p2p_interface.h rename to src/modules/interface/p2pDTR/DTR_p2p_interface.h index 5c72046b51..acbe2481ef 100644 --- a/src/modules/interface/p2pDTR/p2p_interface.h +++ b/src/modules/interface/p2pDTR/DTR_p2p_interface.h @@ -22,7 +22,7 @@ * along with this program. If not, see . * * - * p2p_interface.h + * DTR_p2p_interface.h * */ diff --git a/src/modules/interface/p2pDTR/token_ring.h b/src/modules/interface/p2pDTR/token_ring.h index 28f5000a9c..9777ef87a8 100644 --- a/src/modules/interface/p2pDTR/token_ring.h +++ b/src/modules/interface/p2pDTR/token_ring.h @@ -46,7 +46,7 @@ #include "DTR_types.h" #include "DTR_handlers.h" -#include "p2p_interface.h" +#include "DTR_p2p_interface.h" #include "queueing.h" // #define UNUSED(...) ((void)sizeof((_Bool[]){__VA_ARGS__})); //Used to silence compiler warnings about unused parameters diff --git a/src/modules/src/Kbuild b/src/modules/src/Kbuild index 49dc737ab0..c66b7d7598 100644 --- a/src/modules/src/Kbuild +++ b/src/modules/src/Kbuild @@ -63,7 +63,7 @@ obj-$(CONFIG_ENABLE_CPX) += cpx/cpxlink.o obj-$(CONFIG_ENABLE_CPX) += cpx/cpx.o obj-y += p2pDTR/DTR_handlers.o -obj-y += p2pDTR/p2p_interface.o +obj-y += p2pDTR/DTR_p2p_interface.o obj-y += p2pDTR/queueing.o obj-y += p2pDTR/token_ring.o # Kalman core diff --git a/src/modules/src/p2pDTR/p2p_interface.c b/src/modules/src/p2pDTR/DTR_p2p_interface.c similarity index 98% rename from src/modules/src/p2pDTR/p2p_interface.c rename to src/modules/src/p2pDTR/DTR_p2p_interface.c index b34520a1b1..e657a9bc49 100644 --- a/src/modules/src/p2pDTR/p2p_interface.c +++ b/src/modules/src/p2pDTR/DTR_p2p_interface.c @@ -22,13 +22,13 @@ * along with this program. If not, see . * * - * p2p_interface.c + * DTR_p2p_interface.c * */ -#include "p2p_interface.h" +#include "DTR_p2p_interface.h" #define DEBUG_MODULE "DTR_P2P" #include "debug.h"