[PATCH 33 1/6] Fixed Visual Studio C4028 compiler warnings related to
mismatches between prototypes and function definitions Signed-off-by: Holger Vogt <holger.vogt@uni-due.de>
This commit is contained in:
parent
0ddd4a8456
commit
7e0dd64ce5
|
|
@ -62,7 +62,8 @@ bool defsubckt(dico_t *, struct card *);
|
||||||
int findsubckt(dico_t *, const char *s);
|
int findsubckt(dico_t *, const char *s);
|
||||||
bool nupa_substitute(dico_t *, const char *s, char *r);
|
bool nupa_substitute(dico_t *, const char *s, char *r);
|
||||||
bool nupa_assignment(dico_t *, const char *s, char mode);
|
bool nupa_assignment(dico_t *, const char *s, char mode);
|
||||||
bool nupa_subcktcall(dico_t *, char *s, char *x, char *inst_name);
|
bool nupa_subcktcall(dico_t *, const char *s, const char *x,
|
||||||
|
char *inst_name);
|
||||||
void nupa_subcktexit(dico_t *);
|
void nupa_subcktexit(dico_t *);
|
||||||
entry_t *entrynb(dico_t *dico, char *s);
|
entry_t *entrynb(dico_t *dico, char *s);
|
||||||
entry_t *attrib(dico_t *, NGHASHPTR htable, char *t, char op);
|
entry_t *attrib(dico_t *, NGHASHPTR htable, char *t, char op);
|
||||||
|
|
|
||||||
|
|
@ -535,7 +535,7 @@ defsubckt(dico_t *dico, struct card *card)
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
findsubckt(dico_t *dico, const char * const s)
|
findsubckt(dico_t *dico, const char *s)
|
||||||
/* input: s is a subcircuit invocation line.
|
/* input: s is a subcircuit invocation line.
|
||||||
returns 0 if not found, else the stored definition line number value */
|
returns 0 if not found, else the stored definition line number value */
|
||||||
{
|
{
|
||||||
|
|
@ -1292,7 +1292,7 @@ getexpress(nupa_type *type, SPICE_DSTRINGPTR tstr_p, const char *s)
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
nupa_assignment(dico_t *dico, const char * const s, char mode)
|
nupa_assignment(dico_t *dico, const char *s, char mode)
|
||||||
/* is called for all 'Param' lines of the input file.
|
/* is called for all 'Param' lines of the input file.
|
||||||
is also called for the params: section of a subckt .
|
is also called for the params: section of a subckt .
|
||||||
mode='N' define new local variable, else global...
|
mode='N' define new local variable, else global...
|
||||||
|
|
@ -1399,7 +1399,8 @@ search_isolated_identifier(char *str, const char *identifier)
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
|
nupa_subcktcall(dico_t *dico, const char *s, const char *x,
|
||||||
|
char *inst_name)
|
||||||
/* s= a subckt define line, with formal params.
|
/* s= a subckt define line, with formal params.
|
||||||
x= a matching subckt call line, with actual params
|
x= a matching subckt call line, with actual params
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue