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/6385f5e25b46
branches: trunk
changeset: 982508:6385f5e25b46
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 2d8e57c0b50f -r 6385f5e25b46 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