Source-Changes-HG archive

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

[src/trunk]: src/share/misc Make comment more specific.



details:   https://anonhg.NetBSD.org/src/rev/2b466ba98ae3
branches:  trunk
changeset: 573613:2b466ba98ae3
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 03 00:27:55 2005 +0000

description:
Make comment more specific.

diffstat:

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

diffs (29 lines):

diff -r 13cdd1b543d0 -r 2b466ba98ae3 share/misc/style
--- a/share/misc/style  Thu Feb 03 00:09:30 2005 +0000
+++ b/share/misc/style  Thu Feb 03 00:27:55 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.30 2005/02/02 23:33:42 christos Exp $ */
+/* $NetBSD: style,v 1.31 2005/02/03 00:27:55 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.30 2005/02/02 23:33:42 christos Exp $");
+__RCSID("$NetBSD: style,v 1.31 2005/02/03 00:27:55 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 more specific pointer types.
         *
         * Use err/warn(3), don't roll your own!
         */



Home | Main Index | Thread Index | Old Index