Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ppbus drop #ifdef _KERNEL, this is kernel-only header



details:   https://anonhg.NetBSD.org/src/rev/208b03ad710c
branches:  trunk
changeset: 558100:208b03ad710c
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Jan 28 17:58:42 2004 +0000

description:
drop #ifdef _KERNEL, this is kernel-only header

diffstat:

 sys/dev/ppbus/ppbus_base.h |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r d0e870c0b88f -r 208b03ad710c sys/dev/ppbus/ppbus_base.h
--- a/sys/dev/ppbus/ppbus_base.h        Wed Jan 28 17:54:03 2004 +0000
+++ b/sys/dev/ppbus/ppbus_base.h        Wed Jan 28 17:58:42 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ppbus_base.h,v 1.2 2004/01/21 00:33:37 bjh21 Exp $ */
+/* $NetBSD: ppbus_base.h,v 1.3 2004/01/28 17:58:42 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1997, 1998, 1999 Nicolas Souchu
@@ -135,8 +135,6 @@
 #define PPBUS_FOREVER   -1
 
 
-#ifdef _KERNEL
-
 /* PPBUS interface functions (includes parport interface) */
 int ppbus_scan_bus(struct device *);
 void ppbus_pnp_detect(struct device *);
@@ -161,7 +159,4 @@
 int ppbus_add_handler(struct device *, void (*)(void *), void *);
 int ppbus_remove_handler(struct device *, void (*)(void *)); 
 
-#endif /* _KERNEL */
-
 #endif /* __PPBUS_BASE_H */
-



Home | Main Index | Thread Index | Old Index