Make makesyscalls.lua initialize 'struct sysent' entries using c99
designated identifiers. This makes it easier to modify 'struct sysent'
layout.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Seems sensible. Those are going to be some long lines, but they aren't really meant to be read.
sys/tools/makesyscalls.lua | ||
---|---|---|
750 ↗ | (On Diff #77423) | All of these entries that we're initializing to 0 (maybe even NULL) should be able to go away now, no? |
sys/tools/makesyscalls.lua | ||
---|---|---|
750 ↗ | (On Diff #77423) | Yeah, no need to keep them. |
Comment Actions
Drop some fields that were always 0 or NULL.
Technically I could drop some more (ie all '.sv_narg = 0'), but the output looked somewhat ugly and inconsistent.
Comment Actions
Sure, that's reasonable- while we don't expect people to look at the output, it is good for it to look at least somewhat clean in case we need to sanity check it.