cvs commit: src/usr.bin/lock lock.c

Liam J. Foy liamfoy at crater.dragonflybsd.org
Sun Mar 13 13:19:03 PST 2005


liamfoy     2005/03/13 13:17:47 PST

DragonFly src repository

  Modified files:
    usr.bin/lock         lock.c 
  Log:
  - Remove sys/stat.h, sys/signal.h, varargs.h and ctype.h
  - Issue the correct amount of space for hostname
  - Use strtol to parse integers
  - We want to use signal.h, not sys/signal.h
  - Use STDIN_FILENO over '0'. More informative.
  - Static functions
  - Remove unnecessary cast
  - Style(9)
  
  Ok: Joerg
  
  Revision  Changes    Path
  1.4       +54 -51    src/usr.bin/lock/lock.c


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





More information about the Commits mailing list