1e41f4b71Sopenharmony_ci# ArkCompiler Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.arkcompiler.1 Field __unused in the stat, shminfo, msqid_ds, icmphdr, mq_attr, and utmpx Structs Is Renamed __unused1
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci**Access Level**
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciPublic API
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Change Reason**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciThe **__unused** field in the **stat**, **shminfo**, **msqid_ds**, **icmphdr**, **mq_attr**, and **utmpx** structs conflicts with the **__unused** macro definition in **sys/cdefs.h**. If both of them are imported, a build error is reported.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Change Impact**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciThis change is a non-compatible change.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ciIn API version 11 and earlier versions, the **__unused** field in the preceding structs can be used normally.
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ciIn API version 12 and later versions, a build error is reported when the **__unused** field in the preceding structs is used. You need to change the **__unused** field to **__unused1**.
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**Start API Level**
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci10
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci**Change Since**
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.22
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci**Key API/Component Changes**
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ciStructs **stat**, **shminfo**, **msqid_ds**, **icmphdr**, **mq_attr**, and **utmpx**
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ci**Adaptation Guide**
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ciIf the **__unused** field in the preceding structs is used, change it to **__unused1**.
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ciIf the field is not used, no adaptation is required.
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ciThe **__unused** macro definition in **cdefs.h** is not affected.
40