This should prevent conflicts with the C-standard compliant code, although sys/queue.h is not a standard header.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
For me __curelm is a bit more readable than _Curelm, but I'm fine with this versino as well.
Comment Actions
7.1.3 Reserved identifiers — All identifiers that begin with an underscore and either an uppercase letter or another under- score are always reserved for any use, except those identifiers which are lexically identical to keywords.187) — All identifiers that begin with an underscore are always reserved for use as identifiers with file scope in both the ordinary and tag name spaces. ...
I.e. only _[A-Z].* are allowed for use in macros.