dlmiles
10/03/2024, 7:57 PMdlmiles
10/03/2024, 7:58 PM/* K&R style prototype */
int dbOrientUseFunc();
becomes:
int dbOrientUseFunc(CellUse *selUse, CellUse *use, Transform *transform, ClientData data);
/* adding enough fictitious arguments to need 2nd line might look like */
int dbOrientUseFunc(CellUse *selUse, CellUse *use, Transform *transform, ClientData data, unsigned int extra1,
unsigned int extra2, unsigned int extra3);
dlmiles
10/03/2024, 8:03 PM/* K&R style function */
CellUse *
DBCellFindDup(use, parent)
CellUse *use; /* Use that is about to be placed in parent.
* Is it a duplicate?
*/
CellDef *parent; /* Parent definiton: does it already have
* something identical to use?
*/
{
becomes:
/* this form should make bulk review easier if single char change highlighting is available */
CellUse *
DBCellFindDup(
CellUse *use, /* Use that is about to be placed in parent.
* Is it a duplicate?
*/
CellDef *parent) /* Parent definiton: does it already have
* something identical to use?
*/
{
Tim Edwards
10/03/2024, 11:55 PM{
) starts on a new line (I've never been particularly fond of that one).