mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 11:20:58 +01:00
Note new status of __P. Don't use it.
Reviewed by: arch@, mckusick (in principle)
This commit is contained in:
parent
1bb7d81107
commit
3bd49456b1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90043
@ -268,16 +268,9 @@ Functions that are used locally in more than one module go into a
|
||||
separate header file, e.g.\&
|
||||
.Qq Pa extern.h .
|
||||
.Pp
|
||||
Only use the
|
||||
Do not use the
|
||||
.Dv __P
|
||||
macro from the include file
|
||||
.Aq Pa sys/cdefs.h
|
||||
if the source
|
||||
file in general is (to be) compilable with a K&R Old Testament compiler.
|
||||
Use of the
|
||||
.Dv __P
|
||||
macro in new code is discouraged, although modifications
|
||||
to existing files should be consistent with that file's conventions.
|
||||
macro.
|
||||
.Pp
|
||||
In general code can be considered
|
||||
.Dq "new code"
|
||||
|
Loading…
Reference in New Issue
Block a user