| Summary: | makedevops.pl HEADER section doesn't quite work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | jon <jon> | ||||
| Component: | kern | Assignee: | Nick Hibma <n_hibma> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-bugs->n_hibma Nick introduced the code and knows the purpose of it. State Changed From-To: open->closed Committed to current. Will backport i to 4.x in a week or so. Thanks. |
The HEADER section was introduced to sys/kern/makedevops.pl (1.10) by n_hibma. The name seems to suggest a section that would be generated into the header file. It doesn't do that. Note that no existing .m files use the HEADER section. How-To-Repeat: echo > foo_if.m << EOF INTERFACE foo; HEADER { /* this should be in the header */ }; EOF perl5 -w /usr/src/sys/kern/makedevops.pl -h foo_if.m