From 3facb9174758fa4b648c816680f681f911040cee Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 2 Mar 2009 14:26:29 +1030 Subject: [PATCH] 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). --- tools/ccanlint/has_info_documentation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2