Date: Sat, 17 Nov 2001 21:08:20 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/rpc.lockd lockd_lock.c Message-ID: <200111180508.fAI58Kd94536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2001/11/17 21:08:20 PST
Modified files: (Branch: ANDREW_LOCKD)
usr.sbin/rpc.lockd lockd_lock.c
Log:
Cleanup.
use LIST_FOREACH,
add prototypes (functions should be made static probably),
change DEBUG=1 to LOCKD_DEBUG,
K&R function instantiation for functions with long args lists,
Move comments about functions from within to above the function,
Simplified some if/else logic and reduced nested blocks.
parens around 'return' argument (return FOO -> return (FOO))
Revision Changes Path
1.4.2.4 +344 -329 src/usr.sbin/rpc.lockd/lockd_lock.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111180508.fAI58Kd94536>
