mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 07:37:25 -04:00
Suggest that function prototypes in kernel headers be alphabetical,
unless there's a compelling reason to deviate. Submitted by: Don Lewis Suggestion not objected to by: developers@
This commit is contained in:
parent
88cf6b94bd
commit
f46ccb5625
1 changed files with 3 additions and 0 deletions
|
|
@ -265,6 +265,9 @@ local to one source module should be declared
|
|||
.Pp
|
||||
Functions used from other parts of the kernel are prototyped in the
|
||||
relevant include file.
|
||||
Function prototypes should be listed in a logical order, preferably
|
||||
alphabetical unless there's a compelling reason to use a different
|
||||
ordering.
|
||||
.Pp
|
||||
Functions that are used locally in more than one module go into a
|
||||
separate header file, e.g.\&
|
||||
|
|
|
|||
Loading…
Reference in a new issue