1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/ccan/likely
Rusty Russell 5917d97991 lib/ccan/likely: use htable_type
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-12-05 16:42:48 +10:30
..
test lib/ccan/likely: use htable_type 2011-12-05 16:42:48 +10:30
_info lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
LICENSE lib: import ccan modules for tdb2 2011-06-20 11:18:34 +02:00
likely.c lib/ccan/likely: use htable_type 2011-12-05 16:42:48 +10:30
likely.h lib/ccan/likely: use htable_type 2011-12-05 16:42:48 +10:30