tdb2: fix tools warnings with -Wshadow and -Wcast-qual.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 23 Mar 2011 05:02:01 +0000 (15:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 23 Mar 2011 05:02:01 +0000 (15:32 +1030)
commit94c8763345a51fe59e97daf4e29051f56331c63c
tree172ff7785ad9b0a2fefca9b3842ec6c2f00be900
parentf1069e4a2d5a8115695fb8ea3e78dbdcf389aead
tdb2: fix tools warnings with -Wshadow and -Wcast-qual.

Samba uses these flags, so be friendly.
ccan/tdb2/tools/tdbtool.c
ccan/tdb2/tools/tdbtorture.c