tdb2: fix prototypes which return enum TDB_ERROR.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 2 Sep 2011 06:06:47 +0000 (15:36 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 2 Sep 2011 06:06:47 +0000 (15:36 +0930)
commit6d3832ee613adeb9ae7ed6454996ffa39c32650f
tree04a5a53c3be7c27b32a769845400f6c104cfd5f3
parentfeb36b14278b4230af70dab90369a345b6a027ef
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.
ccan/tdb2/check.c
ccan/tdb2/private.h