htable: fix type of cmpfn in htable_type
It in fact takes an object and a key to compare, not two keys. The test case had the key as first element of the object, so it worked, but ccanlint lost track of module dependencies due to this bug, and thus would build submodules multiple times.
Showing
Please register or sign in to comment