tdb2: fix prototypes which return enum TDB_ERROR.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 22:43:28 +0000 (08:13 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 22:43:28 +0000 (08:13 +0930)
commit2d7c85a971b2766e5ad6ce3664506deba87b53e1
treefca43ee9009e17def04a88060d4a70ce76bd901f
parentc5c0a4d3315d10921f2d4514724da045edbda296
tdb2: fix prototypes which return enum TDB_ERROR.

Since enums and ints are compatible in C, the compiler didn't warn
that our prototypes for these functions disagreed with the
definitions.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 6d3832ee613adeb9ae7ed6454996ffa39c32650f)
lib/tdb2/check.c
lib/tdb2/private.h