Skip to content

Commit

Permalink
fix(C): Update common.h (#1278)
Browse files Browse the repository at this point in the history
请问这里为了防止重复包含头文件是不是应该改成COMMON_H,因为头文件名字叫做common.h
  • Loading branch information
nuquist19 authored Apr 15, 2024
1 parent d484b08 commit 2b11639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions codes/c/utils/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* Author: MolDuM ([email protected])、Reanon ([email protected])
*/

#ifndef C_INCLUDE_H
#define C_INCLUDE_H
#ifndef COMMON_H
#define COMMON_H

#include <assert.h>
#include <stdbool.h>
Expand Down Expand Up @@ -33,4 +33,4 @@ extern "C" {
}
#endif

#endif // C_INCLUDE_H
#endif // COMMON_H

0 comments on commit 2b11639

Please sign in to comment.