Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/misc fix accidental join that made the comment look li...



details:   https://anonhg.NetBSD.org/src/rev/0c927b702800
branches:  trunk
changeset: 573609:0c927b702800
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Feb 02 23:33:42 2005 +0000

description:
fix accidental join that made the comment look like functions that
return ``void *'' should not be cast'ed.

diffstat:

 share/misc/style |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 18d8a4b077f0 -r 0c927b702800 share/misc/style
--- a/share/misc/style  Wed Feb 02 21:41:55 2005 +0000
+++ b/share/misc/style  Wed Feb 02 23:33:42 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.29 2005/02/01 13:43:38 christos Exp $ */
+/* $NetBSD: style,v 1.30 2005/02/02 23:33:42 christos Exp $ */
 
 /*
  * The revision control tag appears first, with a blank line after it.
@@ -29,7 +29,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2000\n\
        The NetBSD Foundation, inc. All rights reserved.\n");
-__RCSID("$NetBSD: style,v 1.29 2005/02/01 13:43:38 christos Exp $");
+__RCSID("$NetBSD: style,v 1.30 2005/02/02 23:33:42 christos Exp $");
 
 /*
  * VERY important single-line comments look like this.
@@ -328,8 +328,8 @@
         * Don't use `!' for tests unless it's a boolean.
         * E.g. use "if (*p == '\0')", not "if (!*p)".
         *
-        * Routines returning void * should not have their return values cast
-        * to any pointer type.
+        * Routines returning ``void'' should not have their return
+        * values cast to any pointer type.
         *
         * Use err/warn(3), don't roll your own!
         */



Home | Main Index | Thread Index | Old Index