Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include appease lint: use u_int32_t and name t...



details:   https://anonhg.NetBSD.org/src/rev/9ecec5d519c4
branches:  trunk
changeset: 503551:9ecec5d519c4
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 08 17:54:43 2001 +0000

description:
appease lint: use u_int32_t and name the bit fields.

diffstat:

 sys/arch/i386/include/frame.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r f88bd3a4bf09 -r 9ecec5d519c4 sys/arch/i386/include/frame.h
--- a/sys/arch/i386/include/frame.h     Thu Feb 08 16:48:01 2001 +0000
+++ b/sys/arch/i386/include/frame.h     Thu Feb 08 17:54:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frame.h,v 1.14 2000/12/11 11:39:06 tron Exp $  */
+/*     $NetBSD: frame.h,v 1.15 2001/02/08 17:54:43 christos Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -126,8 +126,8 @@
        int     if_edx;
        int     if_ecx;
        int     if_eax;
-       int     :32;            /* for compat with trap frame - trapno */
-       int     :32;            /* for compat with trap frame - err */
+       u_int32_t __if_trapno:32; /* for compat with trap frame - trapno */
+       u_int32_t __if_err:32;  /* for compat with trap frame - err */
        /* below portion defined in 386 hardware */
        int     if_eip;
        int     if_cs;



Home | Main Index | Thread Index | Old Index