summaryrefslogtreecommitdiff
path: root/ccan/stringmap
AgeCommit message (Collapse)Author
2014-06-16ccan: Correct some poor conventions in _info includesDavid Gibson
There are a couple of small problems with the includes used in most of ccan's _info files. * _info routinely uses printf(), and so should include <stdio.h>, but only some of them do. We get away with it, because they do include <string.h>, which apparently includes <stdio.h> indirectly, but we should be explicit about it. * Most _info files were including config.h after the system headers. That _seems_ sensible, but actually causes problems. Because config.h defines _GNU_SOURCE it can change the behaviour of the system headers. More specifically it can make them behave differently to how the individual module headers (which have included config.h) expects them to behave. This patch adjusts all the existing _info files and, more importantly, the template constructed by ccanlint. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-08-16block_pool, ccan_tokenizer, stringmap: add ccanlint license suppressions.Rusty Russell
2011-08-15stringmap: Corrected LICENSE link so it points to BSD-3CLAUSE.Joey Adams
2010-10-21license: more changing of licence -> license.Rusty Russell
2010-10-07compiler, list, noerr, sparse_bsearch, str, str_talloc, stringmap, ↵Rusty Russell
talloc_link, tdb, tdb2, typesafe_cb: fix examples Phew, now they call compile!
2010-08-06Add licences/ dir and symlinks for a bit more clarity.Rusty Russell
2010-01-06Remove old run-tests, clean up #includes to all be <ccan/...Rusty Russell
2009-08-04stringmap: fail path can print uninitialized var in test.Rusty Russell
2009-07-21stringmap: Flipped bit order to match sorted string order and added ↵Joey Adams
traversal test
2009-07-18Improved stringmap to support strings with null charactersJoey Adams
2009-07-15Tiny fix to stringmap's run.cJoey Adams
2009-07-15Added module stringmapJoey Adams