From owner-cvs-all Sun Aug 15 12: 3:20 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 57BA614E46; Sun, 15 Aug 1999 12:03:18 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA10641; Sun, 15 Aug 1999 11:59:45 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Message-Id: <199908151859.LAA10641@freefall.freebsd.org> From: Marcel Moolenaar Date: Sun, 15 Aug 1999 11:59:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux linux_dummy.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk marcel 1999/08/15 11:59:45 PDT Modified files: sys/i386/linux linux_dummy.c Log: Major rewrite. The first reason for this rewrite is KNF conformance. The second reason is to avoid redundancy. Each function printed the same string, with only the syscall name being different. The actual printing is now performed by a single function, which gets the syscall name as an argument. The third reason is that of convenience. It's now very easy to add a new dummy implementation. Just add ``DUMMY(foo);'' to the file. It's also a lot easier now to see if a syscall has a dummy implementation or not. The dummies are ordered on syscall number. Please maintain this when adding new dummies (there're 32 candidates at the time of writing :-) Reviewed by: bde Revision Changes Path 1.10 +50 -239 src/sys/i386/linux/linux_dummy.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message