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
@ -265,6 +265,9 @@ local to one source module should be declared
|
|||||||
.Pp
|
.Pp
|
||||||
Functions used from other parts of the kernel are prototyped in the
|
Functions used from other parts of the kernel are prototyped in the
|
||||||
relevant include file.
|
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
|
.Pp
|
||||||
Functions that are used locally in more than one module go into a
|
Functions that are used locally in more than one module go into a
|
||||||
separate header file, e.g.\&
|
separate header file, e.g.\&
|
||||||
|
Loading…
Reference in New Issue
Block a user