K&R wiring.h wireInt.h: conversion to ANSI

K&R obsolete syntax removal for C23 compatibility series
This commit is contained in:
Darryl L. Miles 2025-01-31 18:59:05 +00:00 committed by Tim Edwards
parent 92c4fc35db
commit 5058152c8f
2 changed files with 13 additions and 13 deletions

View File

@ -34,7 +34,7 @@ extern int WireUnits;
/* Undo procedure: */ /* Undo procedure: */
extern void WireRememberForUndo(); extern void WireRememberForUndo(void);
extern void WireUndoInit(); extern void WireUndoInit(void);
#endif /* _WIREINT_H */ #endif /* _WIREINT_H */

View File

@ -72,12 +72,12 @@ extern int WireWidth; /* Thickness of material to use for wiring. */
/* Procedures for placing wires: */ /* Procedures for placing wires: */
extern void WirePickType(); extern void WirePickType(TileType type, int width);
extern void WireAddLeg(); extern void WireAddLeg(Rect *rect, Point *point, int direction);
extern void WireAddContact(); extern void WireAddContact(TileType newType, int newWidth);
extern void WireShowLeg(); extern void WireShowLeg(void);
extern int WireGetWidth(); extern int WireGetWidth(void);
extern TileType WireGetType(); extern TileType WireGetType(void);
/* Legal values for the "direction" parameter to WireAddLeg: */ /* Legal values for the "direction" parameter to WireAddLeg: */
@ -87,13 +87,13 @@ extern TileType WireGetType();
/* Procedures for reading the technology file: */ /* Procedures for reading the technology file: */
extern void WireTechInit(); extern void WireTechInit(void);
extern bool WireTechLine(); extern bool WireTechLine(char *sectionName, int argc, char *argv[]);
extern void WireTechFinal(); extern void WireTechFinal(void);
extern void WireTechScale(); extern void WireTechScale(int scalen, int scaled);
/* Initialization: */ /* Initialization: */
extern void WireInit(); extern void WireInit(void);
#endif /* _WIRING_H */ #endif /* _WIRING_H */