Browse Source

harmonise `struct circ' variables, `ckt' --> `ci'

pre-master-46
rlar 10 years ago
parent
commit
18426c755d
  1. 6
      src/frontend/circuits.c
  2. 2
      src/include/ngspice/fteext.h
  3. 4
      src/main.c

6
src/frontend/circuits.c

@ -22,8 +22,8 @@ struct circ *ft_circuits = NULL;
/* Add a circuit to the circuit list */
void
ft_newcirc(struct circ *ckt)
ft_newcirc(struct circ *ci)
{
ckt->ci_next = ft_circuits;
ft_circuits = ckt;
ci->ci_next = ft_circuits;
ft_circuits = ci;
}

2
src/include/ngspice/fteext.h

@ -43,7 +43,7 @@ extern int ft_getSaves(struct save_info **);
extern struct circ *ft_curckt;
extern struct circ *ft_circuits;
extern struct subcirc *ft_subcircuits;
extern void ft_newcirc(struct circ *ckt);
extern void ft_newcirc(struct circ *ci);
/* clip.c */

4
src/main.c

@ -331,12 +331,12 @@ if_setparam(CKTcircuit *ckt, char **name, char *param, struct dvec *val, int do_
/* -------------------------------------------------------------------------- */
bool
if_tranparams(struct circ *ckt, double *start, double *stop, double *step)
if_tranparams(struct circ *ci, double *start, double *stop, double *step)
{
NG_IGNORE(step);
NG_IGNORE(stop);
NG_IGNORE(start);
NG_IGNORE(ckt);
NG_IGNORE(ci);
return FALSE;
}

Loading…
Cancel
Save