mirror of
https://github.com/acpica/acpica/
synced 2024-12-25 20:06:53 +03:00
d09bc88ad2
During the linuxizing process, some extra white spaces are added by the "indent" program at the beginning of the line which is an invocation of a macro and there is no ";" at the end of the line. This patch adds new mode to AcpiSrc to remove extra spaces inserted before invoking such macros and add an empty line between the invocations of such macros (like the other function declarations). This new mode is executed after executing "indent" during the Linux release process. The affected macros and files are: 1. ACPI_HW_DEPENDENT_RETURN (acpixf.h): This macro is used as a wrapper for hardware dependent APIs to offer a stub when the reduced hardware is configured during compilation. 2. ACPI_EXPORT_SYMBOL (utglobal.c): This macro is used by Linux to export symbols to be found by Linux modules. All such invocations are well formatted except those exported as global variables. This can help to reduce the source code differences between Linux and ACPICA, and also help to automate the release process. Lv Zheng. |
||
---|---|---|
.. | ||
lint | ||
linux | ||
msvc | ||
msvc9 | ||
release | ||
unix |