[ccan] Two small ccanlint patches

Timothy B. Terriberry tterribe at xiph.org
Sat Feb 28 09:57:17 EST 2009


The first fixes the example module documentation ccanlint outputs. The
missing \n meant that it would not validate its own example as valid
documentation (with no explanation of _why_ it was invalid... but that
would be a much larger patch).

The second makes the idempotent header check more liberal, and
specifically allows it to also recognize

#if !defined(someheader)
#define someheader (1)

or other similar variants.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_info_doc_example.patch
Type: text/x-patch
Size: 424 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20090227/98617aa5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: improve_idempotent_check.patch
Type: text/x-patch
Size: 3029 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20090227/98617aa5/attachment-0001.bin>


More information about the ccan mailing list