Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Only define the KIOC netbsd32 stuff if t...
details: https://anonhg.NetBSD.org/src/rev/5d79303bc5cd
branches: trunk
changeset: 338362:5d79303bc5cd
user: matt <matt%NetBSD.org@localhost>
date: Wed May 20 04:09:37 2015 +0000
description:
Only define the KIOC netbsd32 stuff if the KIOC ioctls have been defined.
diffstat:
sys/compat/netbsd32/netbsd32_ioctl.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r bd825d3f3034 -r 5d79303bc5cd sys/compat/netbsd32/netbsd32_ioctl.h
--- a/sys/compat/netbsd32/netbsd32_ioctl.h Wed May 20 04:08:54 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_ioctl.h Wed May 20 04:09:37 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_ioctl.h,v 1.46 2015/05/20 02:45:20 matt Exp $ */
+/* $NetBSD: netbsd32_ioctl.h,v 1.47 2015/05/20 04:09:37 matt Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -533,6 +533,7 @@
#define CLOCKCTL_NTP_ADJTIME32 _IOWR('C', 0x8, \
struct netbsd32_clockctl_ntp_adjtime)
+#ifdef KIOCGSYMBOL
struct netbsd32_ksyms_gsymbol {
netbsd32_charp kg_name;
union {
@@ -547,3 +548,4 @@
#define KIOCGVALUE32 _IOWR('l', 4, struct netbsd32_ksyms_gvalue)
#define KIOCGSYMBOL32 _IOWR('l', 5, struct netbsd32_ksyms_gsymbol)
+#endif /* KIOCGSYMBOL */
Home |
Main Index |
Thread Index |
Old Index