Commit 1e042160 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(scan_c_file): Warn about missing `usage' info.

parent c72fcfc3
2002-07-15 Stefan Monnier <>
* make-docfile.c (scan_c_file): Warn about missing `usage' info.
2002-07-05 Jonathan Kamens <>
* Obey the rmail file and use the unpruned header
......@@ -722,6 +722,9 @@ scan_c_file (filename, mode)
fprintf (outfile, "\n\n");
write_c_args (outfile, buf, argbuf, minargs, maxargs);
else if (defunflag && maxargs == -1 && !saw_usage)
/* The DOC should provide the usage form. */
fprintf (stderr, "Missing `usage' for function `%s'.\n", buf);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment