DragonFly BSD
DragonFly commits List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.sbin/lptcontrol lptcontrol.c


From: "Liam J. Foy" <liamfoy@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 Jan 2005 11:52:30 -0800 (PST)

liamfoy     2005/01/23 11:52:30 PST

DragonFly src repository

  Modified files:
    usr.sbin/lptcontrol  lptcontrol.c 
  Log:
  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)
  
  Revision  Changes    Path
  1.4       +41 -36    src/usr.sbin/lptcontrol/lptcontrol.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/lptcontrol/lptcontrol.c.diff?r1=1.3&r2=1.4&f=u



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