Source-Changes-HG archive

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

[src/trunk]: src/share/misc Use uintN_t in code example instead of u_intN_t. ...



details:   https://anonhg.NetBSD.org/src/rev/3d6839200dec
branches:  trunk
changeset: 552586:3d6839200dec
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Sep 27 21:17:31 2003 +0000

description:
Use uintN_t in code example instead of u_intN_t.  Agrees with current
standards (and more importantly Klaus too :-).

diffstat:

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

diffs (27 lines):

diff -r 75beb3827ba7 -r 3d6839200dec share/misc/style
--- a/share/misc/style  Sat Sep 27 21:11:21 2003 +0000
+++ b/share/misc/style  Sat Sep 27 21:17:31 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.26 2003/08/05 13:26:13 jmmv Exp $ */
+/* $NetBSD: style,v 1.27 2003/09/27 21:17:31 simonb 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.26 2003/08/05 13:26:13 jmmv Exp $");
+__RCSID("$NetBSD: style,v 1.27 2003/09/27 21:17:31 simonb Exp $");
 
 /*
  * VERY important single-line comments look like this.
@@ -161,7 +161,7 @@
        unsigned int baz:1,     /* Bitfield; line up entries if desired */
                     fuz:5,
                     zap:2;
-       u_int8_t flag;
+       uint8_t flag;
 };
 struct foo *foohead;           /* Head of global foo list */
 



Home | Main Index | Thread Index | Old Index