Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Use the standard fixed-sized types on NetBSD.
details: https://anonhg.NetBSD.org/src/rev/635c0c8f9c1c
branches: trunk
changeset: 545841:635c0c8f9c1c
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Apr 16 23:24:01 2003 +0000
description:
Use the standard fixed-sized types on NetBSD.
diffstat:
sys/dev/ic/mpt_mpilib.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 913c23e8ba04 -r 635c0c8f9c1c sys/dev/ic/mpt_mpilib.h
--- a/sys/dev/ic/mpt_mpilib.h Wed Apr 16 23:17:30 2003 +0000
+++ b/sys/dev/ic/mpt_mpilib.h Wed Apr 16 23:24:01 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mpt_mpilib.h,v 1.1 2003/04/16 22:03:00 thorpej Exp $ */
+/* $NetBSD: mpt_mpilib.h,v 1.2 2003/04/16 23:24:01 thorpej Exp $ */
/*
* Copyright (c) 2000, 2001 by LSI Logic Corporation
@@ -64,6 +64,14 @@
*
*****************************************************************************/
+#ifdef __NetBSD__
+typedef int8_t S8;
+typedef uint8_t U8;
+typedef int16_t S16;
+typedef uint16_t U16;
+typedef int32_t S32;
+typedef uint32_t U32;
+#else /* ! __NetBSD__ */
typedef signed char S8;
typedef unsigned char U8;
typedef signed short S16;
@@ -80,6 +88,7 @@
typedef unsigned long U32;
#endif
+#endif /* __NetBSD__ */
typedef struct _S64
Home |
Main Index |
Thread Index |
Old Index