mirror of
http://bgp.hk.skcks.cn:10086/https://github.com/krahets/hello-algo
synced 2026-04-20 21:00:58 +08:00
fix(C): Update common.h (#1278)
请问这里为了防止重复包含头文件是不是应该改成COMMON_H,因为头文件名字叫做common.h
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
* Author: MolDuM (moldum@163.com)、Reanon (793584285@qq.com)
|
||||
*/
|
||||
|
||||
#ifndef C_INCLUDE_H
|
||||
#define C_INCLUDE_H
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdbool.h>
|
||||
@@ -33,4 +33,4 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // C_INCLUDE_H
|
||||
#endif // COMMON_H
|
||||
|
||||
Reference in New Issue
Block a user