mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-22 14:12:33 +00:00
Coccinelle reports "parse error" at declarations using compl, including this fragment of struct scst_lksb in scst/include/scst.h: BAD:!!!!! struct completion compl; The parser treats compl as the C++ complement operator even in these C files. Rename the DLM and SRPT fields and the local target variable to completion. Update their init, wait and signal sites, as well as the SRPT field documentation. This removes the conflicting identifier without adding a parser model. Types, structure layout and completion lifetimes remain unchanged. Other unsupported macros can still cause independent parser failures.