From 315ceca91abb9ae5f108ed3138b49c52dfa2ee10 Mon Sep 17 00:00:00 2001 From: lukem Date: Wed, 15 Mar 2006 11:22:23 +0000 Subject: [PATCH] Update arguments to ENVSYS_GTREDATA, ENVSYS_STREINFO, and ENVSYS_GTREINFO to use the typedef-equivalent and more generic envsys_tre_data_t and envsys_basic_info_t types. Per discussion on tech-kern in October-November 2005. --- sys/sys/envsys.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/sys/envsys.h b/sys/sys/envsys.h index 46efa612cc4e..3791a10266c9 100644 --- a/sys/sys/envsys.h +++ b/sys/sys/envsys.h @@ -1,4 +1,4 @@ -/* $NetBSD: envsys.h,v 1.9 2005/12/31 18:26:14 matt Exp $ */ +/* $NetBSD: envsys.h,v 1.10 2006/03/15 11:22:23 lukem Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -113,7 +113,7 @@ static const char * const envsysunitnames[] = { #define ENVSYS_FAVGVALID 0x00000010 /* avg for this sens is valid */ #define ENVSYS_FFRACVALID 0x00000020 /* display fraction of max */ -#define ENVSYS_GTREDATA _IOWR('E', 2, envsys_temp_data_t) +#define ENVSYS_GTREDATA _IOWR('E', 2, envsys_tre_data_t) /* set and check sensor info */ @@ -130,7 +130,7 @@ typedef struct envsys_basic_info envsys_rpm_info_t; typedef struct envsys_basic_info envsys_electrical_info_t; typedef struct envsys_basic_info envsys_basic_info_t; -#define ENVSYS_STREINFO _IOWR('E', 3, envsys_temp_info_t) -#define ENVSYS_GTREINFO _IOWR('E', 4, envsys_temp_info_t) +#define ENVSYS_STREINFO _IOWR('E', 3, envsys_basic_info_t) +#define ENVSYS_GTREINFO _IOWR('E', 4, envsys_basic_info_t) #endif /* _SYS_ENVSYS_H_ */