Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys avoid second typedef for boolean...
details: https://anonhg.NetBSD.org/src/rev/cd107745454b
branches: trunk
changeset: 961309:cd107745454b
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 15 07:00:50 2021 +0000
description:
avoid second typedef for boolean_t in kernel code originally defined in
<sys/types.h>
diffstat:
external/cddl/osnet/sys/sys/opentypes.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r d425b2d2cb3a -r cd107745454b external/cddl/osnet/sys/sys/opentypes.h
--- a/external/cddl/osnet/sys/sys/opentypes.h Thu Apr 15 06:59:57 2021 +0000
+++ b/external/cddl/osnet/sys/sys/opentypes.h Thu Apr 15 07:00:50 2021 +0000
@@ -36,7 +36,9 @@
#define B_FALSE 0
#define B_TRUE 1
+#ifndef _KERNEL
typedef int boolean_t;
+#endif
#ifndef __defined_hr_t
#define __defined_hr_t
Home |
Main Index |
Thread Index |
Old Index