From b4800dcaa74eadbea2e3c89f166d0d378ed44084 Mon Sep 17 00:00:00 2001 From: uwe Date: Sun, 18 Dec 2005 21:46:15 +0000 Subject: [PATCH] Use ANSI unitN_t types. --- sys/arch/hpcsh/dev/hd64461/hd64461var.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/arch/hpcsh/dev/hd64461/hd64461var.h b/sys/arch/hpcsh/dev/hd64461/hd64461var.h index 24dc5deb8682..72d55abbe0d8 100644 --- a/sys/arch/hpcsh/dev/hd64461/hd64461var.h +++ b/sys/arch/hpcsh/dev/hd64461/hd64461var.h @@ -1,4 +1,4 @@ -/* $NetBSD: hd64461var.h,v 1.2 2002/03/28 15:27:01 uch Exp $ */ +/* $NetBSD: hd64461var.h,v 1.3 2005/12/18 21:46:15 uwe Exp $ */ /*- * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc. @@ -41,10 +41,10 @@ /* * HD64461 register access macro. */ -#define hd64461_reg_read_1(r) (*((volatile u_int8_t *)(r))) -#define hd64461_reg_write_1(r, v) (*((volatile u_int8_t *)(r)) = (v)) -#define hd64461_reg_read_2(r) (*((volatile u_int16_t *)(r))) -#define hd64461_reg_write_2(r, v) (*((volatile u_int16_t *)(r)) = (v)) +#define hd64461_reg_read_1(r) (*((volatile uint8_t *)(r))) +#define hd64461_reg_write_1(r, v) (*((volatile uint8_t *)(r)) = (v)) +#define hd64461_reg_read_2(r) (*((volatile uint16_t *)(r))) +#define hd64461_reg_write_2(r, v) (*((volatile uint16_t *)(r)) = (v)) /* * HD64461 modules canonical ID.