Source-Changes-HG archive

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

[src/trunk]: src/share/misc Add uint32_t as example (so that it is implicitly...



details:   https://anonhg.NetBSD.org/src/rev/9529371484e8
branches:  trunk
changeset: 572453:9529371484e8
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Jan 03 13:59:40 2005 +0000

description:
Add uint32_t as example (so that it is implicitly clear we prefer the C99 types).

diffstat:

 share/misc/style |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 0e8b08fd492e -r 9529371484e8 share/misc/style
--- a/share/misc/style  Mon Jan 03 09:50:09 2005 +0000
+++ b/share/misc/style  Mon Jan 03 13:59:40 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.27 2003/09/27 21:17:31 simonb Exp $ */
+/* $NetBSD: style,v 1.28 2005/01/03 13:59:40 wiz 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.27 2003/09/27 21:17:31 simonb Exp $");
+__RCSID("$NetBSD: style,v 1.28 2005/01/03 13:59:40 wiz Exp $");
 
 /*
  * VERY important single-line comments look like this.
@@ -305,6 +305,7 @@
         *
         * DO NOT initialize variables in the declarations.
         */
+       extern uint32_t zero;
        extern u_char one;
        extern char two;
        struct foo three, *four;



Home | Main Index | Thread Index | Old Index