diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-03-04 17:35:21 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:35 +0200 |
commit | c2ec6c8e2da58e45b4a42a554e5363d0d276710a (patch) | |
tree | f1e65e5d4a7f783c10a3f5437c3edcc1240a2e78 /i386/i386at/lpr.c | |
parent | 5726d4c23bc67529facef293c981d3a23af10b01 (diff) | |
download | gnumach-c2ec6c8e2da58e45b4a42a554e5363d0d276710a.tar.gz gnumach-c2ec6c8e2da58e45b4a42a554e5363d0d276710a.tar.bz2 gnumach-c2ec6c8e2da58e45b4a42a554e5363d0d276710a.zip |
2006-03-04 Thomas Schwinge <tschwinge@gnu.org>
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/par.h: Remove file.
* i386/i386at/if_par.c: Likewise.
* i386/i386at/if_par.h: Likewise.
* i386/i386at/conf.c: Don't include <par.h> anymore and adopt all users
of NPAR as if it were always defined to `0'.
* i386/i386at/lpr.c: Likewise.
Diffstat (limited to 'i386/i386at/lpr.c')
-rw-r--r-- | i386/i386at/lpr.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/i386/i386at/lpr.c b/i386/i386at/lpr.c index 17bafeb2..d10f8011 100644 --- a/i386/i386at/lpr.c +++ b/i386/i386at/lpr.c @@ -30,7 +30,6 @@ #include <lpr.h> #if NLPR > 0 -#include <par.h> #ifdef MACH_KERNEL #include <mach/std_types.h> @@ -58,10 +57,6 @@ #include <chips/busses.h> #include <i386at/lprreg.h> -#if NPAR > 0 -extern int parattach(); -#endif - extern void splx(); extern spl_t spltty(); extern void timeout(); @@ -127,10 +122,6 @@ void lprattach(struct bus_device *dev) outb(INTR_ENAB(addr), inb(INTR_ENAB(addr)) & 0x0f); -#if NPAR > 0 - parattach(dev); -#endif - return; } |