DragonFly commits List (threaded) for 2005-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/usr.bin/lock lock.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]