database: DBPrintUseId() K&R removal

This commit is contained in:
Darryl L. Miles 2025-01-31 19:59:54 +00:00 committed by R. Timothy Edwards
parent cface55c5b
commit fa1f1583df
2 changed files with 6 additions and 6 deletions

View File

@ -59,15 +59,15 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
*/ */
char * char *
DBPrintUseId(scx, name, size, display_only) DBPrintUseId(
SearchContext *scx; /* Pointer to current search context, specifying a SearchContext *scx, /* Pointer to current search context, specifying a
* cell use and X,Y array indices. * cell use and X,Y array indices.
*/ */
char *name; /* Pointer to string into which we will copy the char *name, /* Pointer to string into which we will copy the
* print name of this instance. * print name of this instance.
*/ */
int size; /* Maximum number of characters to copy into string. */ int size, /* Maximum number of characters to copy into string. */
bool display_only; /* TRUE if called for displaying only */ bool display_only) /* TRUE if called for displaying only */
{ {
CellUse *use = scx->scx_use; CellUse *use = scx->scx_use;
char *sp, *id, *ep; char *sp, *id, *ep;

View File

@ -879,7 +879,7 @@ extern void DBSetTrans();
extern void DBArrayOverlap(); extern void DBArrayOverlap();
extern void DBComputeArrayArea(); extern void DBComputeArrayArea();
extern Transform *DBGetArrayTransform(); extern Transform *DBGetArrayTransform();
extern char *DBPrintUseId(); extern char *DBPrintUseId(SearchContext *scx, char *name, int size, bool display_only);
/* Massive copying */ /* Massive copying */
extern void DBCellCopyPaint(); extern void DBCellCopyPaint();