From 4a7f3d15ce93fc7c8c560b1d39a055155781e1b8 Mon Sep 17 00:00:00 2001 From: Ake Hedman Date: Mon, 13 May 2024 16:14:03 +0200 Subject: [PATCH] Adopted files in the common folder to to new naming convention --- CMakeLists.txt | 8 ++++---- src/common/{com_linux.cpp => com-linux.cpp} | 0 src/common/{com_linux.h => com-linux.h} | 0 src/common/{com_win32.cpp => com-win32.cpp} | 0 src/common/{com_win32.h => com-win32.h} | 0 src/common/{vscp_aes.c => vscp-aes.c} | 2 +- src/common/{vscp_aes.h => vscp-aes.h} | 0 src/vscp/common/vscphelper.cpp | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename src/common/{com_linux.cpp => com-linux.cpp} (100%) rename src/common/{com_linux.h => com-linux.h} (100%) rename src/common/{com_win32.cpp => com-win32.cpp} (100%) rename src/common/{com_win32.h => com-win32.h} (100%) rename src/common/{vscp_aes.c => vscp-aes.c} (99%) rename src/common/{vscp_aes.h => vscp-aes.h} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33cacaaed..ae47fb37a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -289,8 +289,8 @@ if (WIN32) src/common/sockettcp.c src/common/vscpbase64.h src/common/vscpbase64.c - src/common/vscp_aes.h - src/common/vscp_aes.c + src/common/vscp-aes.h + src/common/vscp-aes.c src/common/crc.h src/common/crc.c src/common/crc8.h @@ -338,8 +338,8 @@ else() src/common/sockettcp.c src/common/vscpbase64.h src/common/vscpbase64.c - src/common/vscp_aes.h - src/common/vscp_aes.c + src/common/vscp-aes.h + src/common/vscp-aes.c src/common/crc.h src/common/crc.c src/common/crc8.h diff --git a/src/common/com_linux.cpp b/src/common/com-linux.cpp similarity index 100% rename from src/common/com_linux.cpp rename to src/common/com-linux.cpp diff --git a/src/common/com_linux.h b/src/common/com-linux.h similarity index 100% rename from src/common/com_linux.h rename to src/common/com-linux.h diff --git a/src/common/com_win32.cpp b/src/common/com-win32.cpp similarity index 100% rename from src/common/com_win32.cpp rename to src/common/com-win32.cpp diff --git a/src/common/com_win32.h b/src/common/com-win32.h similarity index 100% rename from src/common/com_win32.h rename to src/common/com-win32.h diff --git a/src/common/vscp_aes.c b/src/common/vscp-aes.c similarity index 99% rename from src/common/vscp_aes.c rename to src/common/vscp-aes.c index bd2a73912..5d6686699 100644 --- a/src/common/vscp_aes.c +++ b/src/common/vscp-aes.c @@ -45,7 +45,7 @@ NOTE: String length must be evenly divisible by 16byte (str_len % 16 == 0) #include // file /dev/urandom #include // CBC mode, for memset #include // malloc -#include "vscp_aes.h" +#include "vscp-aes.h" /*****************************************************************************/ /* Defines: */ diff --git a/src/common/vscp_aes.h b/src/common/vscp-aes.h similarity index 100% rename from src/common/vscp_aes.h rename to src/common/vscp-aes.h diff --git a/src/vscp/common/vscphelper.cpp b/src/vscp/common/vscphelper.cpp index 27a8eb019..639edfa5e 100644 --- a/src/vscp/common/vscphelper.cpp +++ b/src/vscp/common/vscphelper.cpp @@ -63,7 +63,7 @@ #include #include #include -#include +#include #include #include