K&R wiring.h wireInt.h: conversion to ANSI
K&R obsolete syntax removal for C23 compatibility series
This commit is contained in:
parent
92c4fc35db
commit
5058152c8f
|
|
@ -34,7 +34,7 @@ extern int WireUnits;
|
|||
|
||||
/* Undo procedure: */
|
||||
|
||||
extern void WireRememberForUndo();
|
||||
extern void WireUndoInit();
|
||||
extern void WireRememberForUndo(void);
|
||||
extern void WireUndoInit(void);
|
||||
|
||||
#endif /* _WIREINT_H */
|
||||
|
|
|
|||
|
|
@ -72,12 +72,12 @@ extern int WireWidth; /* Thickness of material to use for wiring. */
|
|||
|
||||
/* Procedures for placing wires: */
|
||||
|
||||
extern void WirePickType();
|
||||
extern void WireAddLeg();
|
||||
extern void WireAddContact();
|
||||
extern void WireShowLeg();
|
||||
extern int WireGetWidth();
|
||||
extern TileType WireGetType();
|
||||
extern void WirePickType(TileType type, int width);
|
||||
extern void WireAddLeg(Rect *rect, Point *point, int direction);
|
||||
extern void WireAddContact(TileType newType, int newWidth);
|
||||
extern void WireShowLeg(void);
|
||||
extern int WireGetWidth(void);
|
||||
extern TileType WireGetType(void);
|
||||
|
||||
/* Legal values for the "direction" parameter to WireAddLeg: */
|
||||
|
||||
|
|
@ -87,13 +87,13 @@ extern TileType WireGetType();
|
|||
|
||||
/* Procedures for reading the technology file: */
|
||||
|
||||
extern void WireTechInit();
|
||||
extern bool WireTechLine();
|
||||
extern void WireTechFinal();
|
||||
extern void WireTechScale();
|
||||
extern void WireTechInit(void);
|
||||
extern bool WireTechLine(char *sectionName, int argc, char *argv[]);
|
||||
extern void WireTechFinal(void);
|
||||
extern void WireTechScale(int scalen, int scaled);
|
||||
|
||||
/* Initialization: */
|
||||
|
||||
extern void WireInit();
|
||||
extern void WireInit(void);
|
||||
|
||||
#endif /* _WIRING_H */
|
||||
|
|
|
|||
Loading…
Reference in New Issue