Searched hist:49850 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.0-release/sys/i386/linux/
H A Dlinux_dummy.cdiff 49850 Sun Aug 15 16:59:44 MDT 1999 marcel 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

Completed in 58 milliseconds