There are situations where nothing from sys/cdefs.h is needed except for the declaration braces. More, the other facilities from sys/cdefs.h might unnecessarly pollute the namespace.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
The commit message should explain why...
Not sure about my copyright comment. Retaining it certainly is fine.
| sys/sys/_decls.h | ||
|---|---|---|
| 6 | Imho, This file now has nothing copyrightable in it... there are no creatove choices here. The names of the macros are effectively dicted by the interface, and their contents are fixed by the language... | |
| sys/sys/_decls.h | ||
|---|---|---|
| 6 | Ok. Could you please advise what to put into the herald? I do not think that completely removing the copyright block is right, it would cause questions about the status of the header. | |
| sys/sys/_decls.h | ||
|---|---|---|
| 6 | Leave what you have. While I have my doubts, it's good to document this if I'm wrong... i should have kept my mouth shut | |