Partial cleanup of find
authorFelix Janda <felix.janda@posteo.de>
Wed, 10 Apr 2013 17:25:06 +0000 (19:25 +0200)
committerFelix Janda <felix.janda@posteo.de>
Wed, 10 Apr 2013 17:25:06 +0000 (19:25 +0200)
commitf88db7156dd1b61da3b238574e051058d1aa6752
treee2b2fb35b39a9591c505542f0d1b3baa936aa049
parent9bd7a1696e7060e51ec0d0aaef477eaf85aaf216
Partial cleanup of find

- Remove unnecessary headers
- dump_node is not used anywhere
- exec_buf is unused
- Replace SUCCESS with 1 and simplify code accordingly
- a==0 -> !a
- Simplify an incremation pattern using pre-increments
- Add static keyword to functions
- Make error messages print to stderr
toys/pending/find.c