mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
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:
committed by
Tim Edwards
parent
3a41bf6ae2
commit
7ebaba6b39
+2
-1
@@ -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;
|
||||
* {
|
||||
* }
|
||||
|
||||
Reference in New Issue
Block a user