Skip to content

Commit

Permalink
common_queue
Browse files Browse the repository at this point in the history
  • Loading branch information
Chong Liu committed Jan 27, 2024
1 parent 2a60cc5 commit 21b14e1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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_

/**********************************************************************************/
/* */
Expand Down Expand Up @@ -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_ */
2 changes: 1 addition & 1 deletion F01_Common_Functions/src/common_linked_list_dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* =================================================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
* =================================================================================
Expand All @@ -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 <stdio.h>
#include <stdlib.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define __MY_STACK_DOUBLE_QUEUE_H

#include <stdbool.h>
#include "commonQueue.h"
#include "F01_Common_Functions/inc/common_queue.h"

/**********************************************************************************/
/* */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include "commonQueue.h"
#include "F01_Common_Functions/inc/common_queue.h"
#include "myStack_double_queue.h"

/**********************************************************************************/
Expand Down

0 comments on commit 21b14e1

Please sign in to comment.