Use #ifdef XSPICE to exclude findvec_alle() if
XSPICE is not selected.
This commit is contained in:
parent
b0a54137a9
commit
d14ea924b3
|
|
@ -31,7 +31,9 @@ static struct dvec *findvec_all(struct plot *pl);
|
||||||
static struct dvec *findvec_allv(struct plot *pl);
|
static struct dvec *findvec_allv(struct plot *pl);
|
||||||
static struct dvec *findvec_alli(struct plot *pl);
|
static struct dvec *findvec_alli(struct plot *pl);
|
||||||
static struct dvec *findvec_ally(struct plot *pl);
|
static struct dvec *findvec_ally(struct plot *pl);
|
||||||
|
#ifdef XSPICE
|
||||||
static struct dvec *findvec_alle(void);
|
static struct dvec *findvec_alle(void);
|
||||||
|
#endif
|
||||||
static struct dvec *find_permanent_vector_by_name(
|
static struct dvec *find_permanent_vector_by_name(
|
||||||
NGHASHPTR pl_lookup_table, char *name);
|
NGHASHPTR pl_lookup_table, char *name);
|
||||||
static enum ALL_TYPE_ENUM get_all_type(const char *word);
|
static enum ALL_TYPE_ENUM get_all_type(const char *word);
|
||||||
|
|
@ -163,8 +165,10 @@ static struct dvec *findvec(char *word, struct plot *pl)
|
||||||
return findvec_alli(pl);
|
return findvec_alli(pl);
|
||||||
case ALL_TYPE_ALLY:
|
case ALL_TYPE_ALLY:
|
||||||
return findvec_ally(pl);
|
return findvec_ally(pl);
|
||||||
|
#ifdef XSPICE
|
||||||
case ALL_TYPE_ALLE:
|
case ALL_TYPE_ALLE:
|
||||||
return findvec_alle();
|
return findvec_alle();
|
||||||
|
#endif
|
||||||
default: /* case ALL_TYPE_NOT_ALL -- not some type of ALL */
|
default: /* case ALL_TYPE_NOT_ALL -- not some type of ALL */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue