1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/ccan
Rusty Russell b88e0c40b7 ccan: fix likely redefinition warnings with --enable-tdb2
When we do --enable-tdb2, we start clashing with the replace.h
version:

In file included from ../lib/tdb2/tools/../private.h:25:0,
                 from ../lib/tdb2/tools/tdb2torture.c:60:
../lib/ccan/likely/likely.h:32:0: warning: "likely" redefined
../lib/replace/replace.h:762:0: note: this is the location of the previous definition
../lib/ccan/likely/likely.h:53:0: warning: "unlikely" redefined
../lib/replace/replace.h:765:0: note: this is the location of the previous definition

I don't like to #ifndef-protect them in general, since you don't want
different parts of the code to silently have different definitions,
but it's the simplest fix for now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-08-31 13:57:14 +09:30
..
array_size lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
asearch lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
build_assert lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
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: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
ilog lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
likely ccan: fix likely redefinition warnings with --enable-tdb2 2011-08-31 13:57:14 +09:30
str lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
tally Adapt tally_histogram to Samba coding conventions 2011-08-10 21:12:59 +02:00
typesafe_cb lib/ccan: update to init-1192-gdd04041 2011-07-25 12:03:40 +02:00
libccan.m4 ccan: fix configure tests for __builtin_clz etc. 2011-07-05 07:08:55 +02:00
README lib/ccan: add README 2011-07-25 18:07:11 +09:30
wscript lib: import ccan modules for tdb2 2011-06-20 11:18:34 +02:00

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>