mirror of
https://github.com/acpica/acpica/
synced 2025-02-25 01:44:33 +03:00

acpisrc can only convert the followings: typedef union/struct foo { int bar; } FOO; Into: union struct foo { int bar; }; It cannot detect the followings: typedef union/struct foo FOO; And convert it into: typedef union/struct foo foo; This patch facilitates acpisrc to detect such forms, thus allows some typedefs to be converted using the latter style with "SIMPLE" conversion (see ACPI_EFI_FILE in astable.c as a demo). Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>