General clean up of lptcontrol. Similar to FreeBSD 1.15
authorLiam J. Foy <liamfoy@dragonflybsd.org>
Sun, 23 Jan 2005 19:52:30 +0000 (19:52 +0000)
committerLiam J. Foy <liamfoy@dragonflybsd.org>
Sun, 23 Jan 2005 19:52:30 +0000 (19:52 +0000)
commitac228c26bd1eb84d04020f56771a7bcb04afde75
treeb0b7ae694cfcf9c763ca1ddb6389f2a001b47ed2
parentd8983f3ede6e9098c716cec0af4e02fc08a7fba5
General clean up of lptcontrol. Similar to FreeBSD 1.15
with my modifications:

- Remove many unnecessary headers and sort them
- Remove unused #define (PATH_LPCTL)
- Don't bother calling set_interrupt_status. Just call
  both open(2) and ioctl(2) in main.
- Remove modes in open(2)
usr.sbin/lptcontrol/lptcontrol.c