summaryrefslogtreecommitdiff
path: root/lib/ccan/likely/test
AgeCommit message (Collapse)AuthorFilesLines
2011-12-05lib/ccan/likely: use htable_typeRusty Russell1-2/+15
Also general cleanups: (1) Don't assume that strings are folded by the compiler. (2) Implement likely_stats_reset(). (3) Return non-const string from likely_stats(), as caller must free it. (4) Don't use struct info indirection (that was from when we used callbacks?) (5) Close memory leak in run-debug.c Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 0e5d0e30b30bb07b6605843e5ff224210d8083d8)
2011-06-20lib: import ccan modules for tdb2Rusty Russell2-0/+117
Imported from git://git.ozlabs.org/~ccan/ccan init-1161-g661d41f Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>