1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/lib/ccan
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
..
array_size lib/ccan/array_size: relicense under public domain. 2011-12-05 16:42:40 +10:30
asearch lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
build_assert lib/ccan/build_assert: Remove stale LGPL license comment. 2011-12-05 16:42:43 +10:30
cast lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
compiler lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
endian lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
hash lib: import ccan modules for tdb2 2011-06-20 11:18:34 +02:00
htable lib/ccan/htable: HTABLE_INITIALIZER() for static initialization. 2011-12-05 16:42:48 +10:30
ilog lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
likely lib/ccan/likely: use htable_type 2011-12-05 16:42:48 +10:30
str lib/ccan/str: fix warnings. 2011-12-05 16:42:46 +10:30
strset/tools lib/ccan/htable, strset: benchmarking tools. 2011-12-05 16:42:46 +10:30
tally Adapt tally_histogram to Samba coding conventions 2011-08-10 21:12:59 +02:00
typesafe_cb lib/ccan/typesafe_cb: fix example macro ordering in typesafe_cb_preargs documentation. 2011-12-05 16:42:45 +10:30
libccan.m4 ccan: configure check for HAVE_BUILTIN_CHOOSE_EXPR 2011-09-14 07:05:13 +09:30
README lib/ccan: add README 2011-07-25 18:07:11 +09:30
wscript ccan: configure check for HAVE_BUILTIN_CHOOSE_EXPR 2011-09-14 07:05:13 +09:30

These files are from the CCAN project (http://ccan.ozlabs.org); the
_info and LICENSE files in each directory indicate their (separate)
licenses.

I'm trying to keep them in sync with the upstream versions as much as
possible, so please be careful!

Thanks!
Rusty Russell <rusty@rustcorp.com.au>