rbuf, tools: clean up rbuf usage.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Oct 2018 00:25:31 +0000 (10:55 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Oct 2018 00:25:31 +0000 (10:55 +1030)
commite4142e580c36230a1e5137f8a5f5a5cc01a57a1e
tree2951486462d56ec75a12ace9bc5bbb06e69a53e9
parentb3cc8ae7c2fe35cf20bd0bac211658c0ecbdbdae
rbuf, tools: clean up rbuf usage.

We should use rbuf primitives not reach inside to membuf.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/rbuf/test/run-all.c
ccan/rbuf/test/run-partial-read.c
ccan/rbuf/test/run-term-eof.c
tools/depends.c
tools/tools.c
tools/tools.h