diff --git a/F01_Common_Functions/inc/commonQueue.h b/F01_Common_Functions/inc/common_queue.h similarity index 93% rename from F01_Common_Functions/inc/commonQueue.h rename to F01_Common_Functions/inc/common_queue.h index 2eb43d80..b8097331 100644 --- a/F01_Common_Functions/inc/commonQueue.h +++ b/F01_Common_Functions/inc/common_queue.h @@ -9,8 +9,8 @@ * ================================================================================= * @Description : Common queue header file */ -#ifndef F01_COMMON_FUNCTIONS_INC_COMMONQUEUE_H_ -#define F01_COMMON_FUNCTIONS_INC_COMMONQUEUE_H_ +#ifndef F01_COMMON_FUNCTIONS_INC_COMMON_QUEUE_H_ +#define F01_COMMON_FUNCTIONS_INC_COMMON_QUEUE_H_ /**********************************************************************************/ /* */ @@ -44,4 +44,4 @@ int Queue_IsFull(Queue *queue); /* Check if queue is full */ void Queue_Print(Queue *queue); /* Print queue */ void Queue_Free(Queue *queue); /* Free queue */ -#endif /* F01_COMMON_FUNCTIONS_INC_COMMONQUEUE_H_ */ +#endif /* F01_COMMON_FUNCTIONS_INC_COMMON_QUEUE_H_ */ diff --git a/F01_Common_Functions/src/common_linked_list_dummy.c b/F01_Common_Functions/src/common_linked_list_dummy.c index c3bc935c..d348d8b6 100644 --- a/F01_Common_Functions/src/common_linked_list_dummy.c +++ b/F01_Common_Functions/src/common_linked_list_dummy.c @@ -3,7 +3,7 @@ * @Author : Chong Liu * @CreateDate : 2023-10-21 10:33:34 * @LastEditors : Chong Liu - * @LastEditTime : 2024-01-26 10:38:05 + * @LastEditTime : 2024-01-27 11:04:24 * ================================================================================= * Copyright (c) 2023 by Chong Liu, All Rights Reserved. * ================================================================================= diff --git a/F01_Common_Functions/src/commonQueue.c b/F01_Common_Functions/src/common_queue.c similarity index 98% rename from F01_Common_Functions/src/commonQueue.c rename to F01_Common_Functions/src/common_queue.c index 3dfd9d74..14293cc8 100644 --- a/F01_Common_Functions/src/commonQueue.c +++ b/F01_Common_Functions/src/common_queue.c @@ -1,9 +1,9 @@ /* - * @FilePath : \Practice_LeetCode_C\F01_Common_Functions\src\commonQueue.c + * @FilePath : \Practice_LeetCode_C\F01_Common_Functions\src\common_queue.c * @Author : Chong Liu * @CreateDate : 2023-10-26 13:40:03 * @LastEditors : Chong Liu - * @LastEditTime : 2024-01-13 00:04:13 + * @LastEditTime : 2024-01-27 11:04:35 * ================================================================================= * Copyright (c) 2023 by Chong Liu, All Rights Reserved. * ================================================================================= @@ -13,7 +13,7 @@ #include "compile_cfg.h" /* NOLINT */ #if COMMON_QUEUE_EN /* whether compile this file, the definition of this macro can be found in compileCfg.h */ /* Header file (本文件头文件) */ -#include "commonQueue.h" +#include "F01_Common_Functions/inc/common_queue.h" /* Standard header file (标准头文件) */ #include #include diff --git a/F01_Common_Functions/test/commonQueueTest.cc b/F01_Common_Functions/test/common_queue_test.cc similarity index 98% rename from F01_Common_Functions/test/commonQueueTest.cc rename to F01_Common_Functions/test/common_queue_test.cc index 4b631517..1abf7860 100644 --- a/F01_Common_Functions/test/commonQueueTest.cc +++ b/F01_Common_Functions/test/common_queue_test.cc @@ -11,7 +11,7 @@ */ extern "C" { /* Target header file (目标头文件) */ - #include "commonQueue.h" + #include "F01_Common_Functions/inc/common_queue.h" /* Common function header file (通用头文件) */ #include "F01_Common_Functions/inc/common_def/common_type_def.h" } diff --git a/F02_Programming_Topics/F01_Data_Structure/05_Stack_Queue/02_myStackCreate/inc/myStack_double_queue.h b/F02_Programming_Topics/F01_Data_Structure/05_Stack_Queue/02_myStackCreate/inc/myStack_double_queue.h index 2d9cbbb1..b79b3eec 100644 --- a/F02_Programming_Topics/F01_Data_Structure/05_Stack_Queue/02_myStackCreate/inc/myStack_double_queue.h +++ b/F02_Programming_Topics/F01_Data_Structure/05_Stack_Queue/02_myStackCreate/inc/myStack_double_queue.h @@ -13,7 +13,7 @@ #define __MY_STACK_DOUBLE_QUEUE_H #include -#include "commonQueue.h" +#include "F01_Common_Functions/inc/common_queue.h" /**********************************************************************************/ /* */ diff --git a/F02_Programming_Topics/F01_Data_Structure/05_Stack_Queue/02_myStackCreate/src/myStack_double_queue.c b/F02_Programming_Topics/F01_Data_Structure/05_Stack_Queue/02_myStackCreate/src/myStack_double_queue.c index 0a87749e..9844bc85 100644 --- a/F02_Programming_Topics/F01_Data_Structure/05_Stack_Queue/02_myStackCreate/src/myStack_double_queue.c +++ b/F02_Programming_Topics/F01_Data_Structure/05_Stack_Queue/02_myStackCreate/src/myStack_double_queue.c @@ -15,7 +15,7 @@ #include #include #include -#include "commonQueue.h" +#include "F01_Common_Functions/inc/common_queue.h" #include "myStack_double_queue.h" /**********************************************************************************/