!272 代码告警规范修改。

Merge pull request !272 from chenyude/codex
This commit is contained in:
openharmony_ci
2023-05-24 08:54:00 +00:00
committed by Gitee
15 changed files with 52 additions and 32 deletions
+3 -3
View File
@@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef _SYSCAP_DEFINE_H
#define _SYSCAP_DEFINE_H
#ifndef SYSCAP_DEFINE_H
#define SYSCAP_DEFINE_H
#include <stdint.h>
@@ -556,4 +556,4 @@ const static SyscapWithNum g_arraySyscap[] = {
}
#endif /* __cplusplus */
#endif /* __cplusplus */
#endif // _SYSCAP_DEFINE_H
#endif // SYSCAP_DEFINE_H
+3 -3
View File
@@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef _CREATE_PCID_H
#define _CREATE_PCID_H
#ifndef CREATE_PCID_H
#define CREATE_PCID_H
#include <stdint.h>
@@ -29,7 +29,7 @@ typedef struct ProductCompatibilityID {
uint8_t osSyscap[OS_SYSCAP_BYTES];
} PCIDMain;
typedef struct pcidHeader {
typedef struct PcidHeader {
uint16_t apiVersion : 15;
uint16_t apiVersionType : 1;
uint16_t systemType : 3;