ci_prefix() returns a `bool', and change struct element `ivl' type to `int'

This commit is contained in:
rlar 2010-11-06 20:29:33 +00:00
parent aaaf547951
commit faa4943218
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2010-11-06 Robert Larice
* src/frontend/numparam/general.h ,
* src/frontend/numparam/mystring.c ,
* src/frontend/numparam/numparam.h :
ci_prefix() returns a `bool', and change struct element `ivl' type to `int'
2010-11-06 Robert Larice
* src/frontend/numparam/general.h ,
* src/frontend/numparam/mystring.c :

View File

@ -37,7 +37,7 @@ bool cins( SPICE_DSTRINGPTR s, char c);
bool sins( SPICE_DSTRINGPTR s, char * t);
int cpos( char c, char *s);
int spos_( char * sub, char * s);
int ci_prefix( register char *p, register char *s );
bool ci_prefix( register char *p, register char *s );
int length(char * s);
bool steq(char * s, char * t);
bool stne(char * s, char * t);

View File

@ -24,7 +24,7 @@
/***** primitive input-output ***/
int
bool
ci_prefix (register char *p, register char *s)
{
while (*p)

View File

@ -30,7 +30,7 @@ typedef struct _tentry {
char *symbol ;
int level; /* subckt nesting level */
double vl; /* float value if defined */
unsigned ivl; /*int value or string buffer index*/
int ivl; /*int value or string buffer index*/
char * sbbase; /* string buffer base address if any */
struct _tentry *pointer ; /* pointer chain */
} entry;