From 496eb1f350209500fe681ff2a461f3c1aaedc3de Mon Sep 17 00:00:00 2001 From: uwe Date: Sun, 10 Jul 2005 16:21:01 +0000 Subject: [PATCH] Cosmetic: use uintN_t, drop leading underscores from the volatile keyword, use extern in function declarations. --- sys/arch/sh3/include/proc.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/arch/sh3/include/proc.h b/sys/arch/sh3/include/proc.h index fe929f54e17f..55ea8cd553b8 100644 --- a/sys/arch/sh3/include/proc.h +++ b/sys/arch/sh3/include/proc.h @@ -1,4 +1,4 @@ -/* $NetBSD: proc.h,v 1.7 2004/03/24 15:38:41 wiz Exp $ */ +/* $NetBSD: proc.h,v 1.8 2005/07/10 16:21:01 uwe Exp $ */ /* * Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved. @@ -43,8 +43,8 @@ /* Kernel stack PTE */ struct md_upte { - u_int32_t addr; - u_int32_t data; + uint32_t addr; + uint32_t data; }; struct mdlwp { @@ -59,12 +59,12 @@ struct mdlwp { #define MDP_USEDFPU 0x0001 /* has used the FPU */ struct mdproc { - __volatile int md_astpending; /* AST pending on return to userland */ + volatile int md_astpending; /* AST pending on return to userland */ }; #ifdef _KERNEL #ifndef _LOCORE -void sh_proc0_init(void); +extern void sh_proc0_init(void); extern struct md_upte *curupte; /* SH3 wired u-area hack */ #endif /* _LOCORE */ #endif /* _KERNEL */