From: Rusty Russell Date: Mon, 2 Mar 2009 03:56:29 +0000 (+1030) Subject: From: "Timothy B. Terriberry" X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=3facb9174758fa4b648c816680f681f911040cee;ds=inline From: "Timothy B. Terriberry" 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). --- diff --git a/tools/ccanlint/has_info_documentation.c b/tools/ccanlint/has_info_documentation.c index 2f2c369d..3142b7b0 100644 --- a/tools/ccanlint/has_info_documentation.c +++ b/tools/ccanlint/has_info_documentation.c @@ -56,7 +56,7 @@ static void create_info_template_doc(struct manifest *m, void *check_result) err(1, "Creating _info.c.new to insert documentation"); if (fprintf(new, - "/**" + "/**\n" " * %s - [[ONE LINE DESCRIPTION HERE]]\n" " *\n" " * Paragraphs why %s exists and where to use it.\n"