diff --git a/src/frontend/numparam/general.h b/src/frontend/numparam/general.h index d8cf2bf81..322f57b1a 100644 --- a/src/frontend/numparam/general.h +++ b/src/frontend/numparam/general.h @@ -11,7 +11,7 @@ char *pscopy(SPICE_DSTRINGPTR s, const char *a, int i, int j); char *pscopy_up(SPICE_DSTRINGPTR s, const char *a, int i, int j); -bool scopyd(SPICE_DSTRINGPTR a, SPICE_DSTRINGPTR b); +void scopyd(SPICE_DSTRINGPTR a, SPICE_DSTRINGPTR b); void scopys(SPICE_DSTRINGPTR a, const char *b); void scopy_up(SPICE_DSTRINGPTR a, const char *str); void scopy_lower(SPICE_DSTRINGPTR a, const char *str); diff --git a/src/frontend/numparam/mystring.c b/src/frontend/numparam/mystring.c index 869d88bec..c7b4ca353 100644 --- a/src/frontend/numparam/mystring.c +++ b/src/frontend/numparam/mystring.c @@ -109,12 +109,11 @@ cadd(SPICE_DSTRINGPTR dstr_p, char c) * Create copy of the dynamic string. Dynamic strings are always NULL * terminated. * ----------------------------------------------------------------- */ -bool +void scopyd(SPICE_DSTRINGPTR s, SPICE_DSTRINGPTR t) /* returns success flag */ { spice_dstring_reinit(s); spice_dstring_append(s, spice_dstring_value(t), -1); - return 1; /* Dstrings expand to any length */ }