Browse Source

From: "Timothy B. Terriberry" <tterribe@xiph.org>

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).
Rusty Russell 17 years ago
parent
commit
3facb91747
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/ccanlint/has_info_documentation.c

+ 1 - 1
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"