DBcount.c: clarify function documentation of hiercount() callback

DBTreeCountPaint(def, count, hiercount, cleanup, cdata)
 callback hiercount()

The K&R function prototype syntax in the documentation might confuse
reader into which argument order is correct (as a modern developer
might be out of practice with interpreting K&R syntax)
This commit is contained in:
Darryl L. Miles 2024-10-04 12:09:57 +01:00 committed by Tim Edwards
parent 3a41bf6ae2
commit 7ebaba6b39
1 changed files with 2 additions and 1 deletions

View File

@ -52,10 +52,11 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
*
* int
* hiercount(parent, uses, child, cdata)
* CellDef *parent, *child;
* CellDef *parent;
* int uses; /# Scale factor: number of times child
* # is used by parent
* #/
* CellDef *child;
* ClientData cdata;
* {
* }