Bug 21982

Summary: makedevops.pl HEADER section doesn't quite work
Product: Base System Reporter: jon <jon>
Component: kernAssignee: Nick Hibma <n_hibma>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description jon 2000-10-14 08:00:01 UTC
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
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-10-14 15:10:13 UTC
Responsible Changed
From-To: freebsd-bugs->n_hibma

Nick introduced the code and knows the purpose of it.
Comment 2 Nick Hibma freebsd_committer freebsd_triage 2000-10-15 16:22:36 UTC
State Changed
From-To: open->closed

Committed to current. Will backport i to 4.x in a week or so. 

Thanks.