extflat: ANSI prototype efBuildDevice() and constify (const Rect*)
This commit is contained in:
parent
c7ef7d743a
commit
5fe586100b
|
|
@ -831,13 +831,13 @@ efBuildDeviceParams(name, argc, argv)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
efBuildDevice(def, class, type, r, argc, argv)
|
efBuildDevice(
|
||||||
Def *def; /* Def to which this connection is to be added */
|
Def *def, /* Def to which this connection is to be added */
|
||||||
char class; /* Class (dev, bjt, etc.) of this device */
|
char class, /* Class (dev, bjt, etc.) of this device */
|
||||||
char *type; /* Type (name) of this device */
|
char *type, /* Type (name) of this device */
|
||||||
Rect *r; /* Coordinates of 1x1 rectangle entirely inside device */
|
const Rect *r, /* Coordinates of 1x1 rectangle entirely inside device */
|
||||||
int argc; /* Size of argv */
|
int argc, /* Size of argv */
|
||||||
char *argv[]; /* Tokens for the rest of the dev line.
|
char *argv[]) /* Tokens for the rest of the dev line.
|
||||||
* Starts with the last two position values, used to
|
* Starts with the last two position values, used to
|
||||||
* hash the device record. The next arguments depend
|
* hash the device record. The next arguments depend
|
||||||
* on the type of device. The rest are taken in groups
|
* on the type of device. The rest are taken in groups
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ extern int EFNodeResist();
|
||||||
extern void efAdjustSubCap();
|
extern void efAdjustSubCap();
|
||||||
extern int efBuildAddStr();
|
extern int efBuildAddStr();
|
||||||
extern void efBuildAttr();
|
extern void efBuildAttr();
|
||||||
extern int efBuildDevice();
|
extern int efBuildDevice(Def *def, char class, char *type, const Rect *r, int argc, char *argv[]);
|
||||||
extern void efBuildDeviceParams();
|
extern void efBuildDeviceParams();
|
||||||
extern void efBuildDist();
|
extern void efBuildDist();
|
||||||
extern void efBuildEquiv();
|
extern void efBuildEquiv();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue