diff options
author | marcel <marcel@FreeBSD.org> | 1999-08-15 18:59:44 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-08-15 18:59:44 +0000 |
commit | c1329f8c5d1053e136db443fa15bb36178ade3f9 (patch) | |
tree | 8e1c5efe1e18df8fb21d766559f37e5345615b77 /usr.bin/printenv | |
parent | 1e0d4f074a01d9b75a009edb8f37d83b4ec4a8a9 (diff) | |
download | FreeBSD-src-c1329f8c5d1053e136db443fa15bb36178ade3f9.zip FreeBSD-src-c1329f8c5d1053e136db443fa15bb36178ade3f9.tar.gz |
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
Diffstat (limited to 'usr.bin/printenv')
0 files changed, 0 insertions, 0 deletions