summaryrefslogtreecommitdiff
path: root/share/man/man9/style.9
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:58:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:58:33 +0000
commit66af7f635bac24fb1060e7694a6d1049f56675b1 (patch)
treefe624c0ad18b06a2628aecf5f8024268d49f5f6b /share/man/man9/style.9
parentd522f6eb0324008023fed0be4d046f3fc51b0356 (diff)
Deprecate __P
Diffstat (limited to 'share/man/man9/style.9')
-rw-r--r--share/man/man9/style.914
1 files changed, 6 insertions, 8 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 39c2277d45a..1bc0eff808c 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: style.9,v 1.23 2002/01/12 16:23:36 millert Exp $
+.\" $OpenBSD: style.9,v 1.24 2002/02/17 19:58:32 millert Exp $
.\"
.Dd June 18, 2001
.Dt STYLE 9
@@ -122,15 +122,13 @@ Functions that are used locally in more than one module go into a
separate header file, e.g.,
.Pa extern.h .
.Pp
-Only use the
-.Li __P
-macro from the include file
-.Pa Aq sys/cdefs.h
-if the source file in general is (to be) compilable with a K&R compiler.
Use of the
.Li __P
-macro in new code is discouraged, although modifications to existing
-files should be consistent with that file's conventions.
+macro has been deprecated.
+It is allowed in code imported from other sources but should not be
+used in native
+.Ox
+code.
Prototypes should not have variable names associated with the types; i.e.:
.Bd -literal -compact -offset 0i
void function(int);