Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/gehenna-devsw]: src/sys/altq Fix compile conditions.
details: https://anonhg.NetBSD.org/src/rev/8e3e243b65a6
branches: gehenna-devsw
changeset: 527110:8e3e243b65a6
user: gehenna <gehenna%NetBSD.org@localhost>
date: Thu May 16 12:30:22 2002 +0000
description:
Fix compile conditions.
diffstat:
sys/altq/altq_conf.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 8590b947df32 -r 8e3e243b65a6 sys/altq/altq_conf.h
--- a/sys/altq/altq_conf.h Thu May 16 12:29:27 2002 +0000
+++ b/sys/altq/altq_conf.h Thu May 16 12:30:22 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: altq_conf.h,v 1.3 2001/01/29 20:02:48 itojun Exp $ */
+/* $NetBSD: altq_conf.h,v 1.3.16.1 2002/05/16 12:30:22 gehenna Exp $ */
/* $KAME: altq_conf.h,v 1.6 2001/01/29 19:59:09 itojun Exp $ */
/*
@@ -55,13 +55,13 @@
typedef int d_open_t __P((dev_t, int, int, struct proc *));
typedef int d_close_t __P((dev_t, int, int, struct proc *));
typedef int d_ioctl_t __P((dev_t, u_long, caddr_t, int, struct proc *));
+#endif /* __NetBSD__ || __OpenBSD__ */
+#if defined(__OpenBSD__)
#define noopen (dev_type_open((*))) enodev
#define noclose (dev_type_close((*))) enodev
#define noioctl (dev_type_ioctl((*))) enodev
-#endif /* __NetBSD__ || __OpenBSD__ */
-#if defined(__OpenBSD__)
int altqopen __P((dev_t, int, int, struct proc *));
int altqclose __P((dev_t, int, int, struct proc *));
int altqioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
Home |
Main Index |
Thread Index |
Old Index