From: Rusty Russell Date: Mon, 17 Jan 2011 05:50:15 +0000 (+1030) Subject: ccanlint: check examples actually mention thing they are demonstrating. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=598b7d1351176b73247855893fd49c5e38f5800a;hp=598b7d1351176b73247855893fd49c5e38f5800a ccanlint: check examples actually mention thing they are demonstrating. Brad suggested this after finding one such cut & paste in str: rusty@vivaldi:~/devel/cvs/ccan/ccan/str$ ../../tools/ccanlint/ccanlint Example: sections demonstrate appropriate function (examples_relevant): FAIL /home/rusty/devel/cvs/ccan/ccan/str/str.h:64:Example for strcount doesn't mention it Total score: 37/38 ---