fix(C): Update common.h (#1278)

请问这里为了防止重复包含头文件是不是应该改成COMMON_H,因为头文件名字叫做common.h
This commit is contained in:
nuquist19 2024-04-15 14:54:28 +08:00 committed by GitHub
parent d484b08c15
commit 2b11639103
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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