From owner-cvs-all Sat Nov 17 21: 8:23 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 69BC237B419; Sat, 17 Nov 2001 21:08:20 -0800 (PST) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAI58Kd94536; Sat, 17 Nov 2001 21:08:20 -0800 (PST) (envelope-from alfred) Message-Id: <200111180508.fAI58Kd94536@freefall.freebsd.org> From: Alfred Perlstein Date: Sat, 17 Nov 2001 21:08:20 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/rpc.lockd lockd_lock.c X-FreeBSD-CVS-Branch: ANDREW_LOCKD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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