Date: Sun, 15 Aug 1999 11:59:45 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux linux_dummy.c Message-ID: <199908151859.LAA10641@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908151859.LAA10641>
