diff --git a/ChangeLog b/ChangeLog index e77c4cfab..fd83c92b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-06-27 Robert Larice + * src/include/ipcproto.h, + * src/xspice/cmpp/ifs_yacc.y, + * src/xspice/cmpp/mod_yacc.y, + * src/xspice/cmpp/pp_mod.c, + * src/xspice/cmpp/read_ifs.c : + ansi function declarations (prototypes) + 2010-06-27 Robert Larice * src/main.c, * src/spicelib/devices/dev.c, @@ -45,7 +53,7 @@ * src/spicelib/parser/inppas1.c, * src/xspice/ipc/ipcsockets.c : remove redundant nested function declarations - + 2010-06-25 Robert Larice * src/frontend/hpgl.h, * src/frontend/parser/glob.c, diff --git a/src/include/ipcproto.h b/src/include/ipcproto.h index b211baf6b..24048dadc 100755 --- a/src/include/ipcproto.h +++ b/src/include/ipcproto.h @@ -24,10 +24,10 @@ Ipc_Status_t ipc_send_double_array (char *tag , int array_len , double *value ); Ipc_Status_t ipc_send_complex_array (char *tag , int array_len , Ipc_Complex_t *value ); Ipc_Status_t ipc_send_boolean_array (char *tag , int array_len , Ipc_Boolean_t *value ); Ipc_Status_t ipc_send_string_array (char *tag , int array_len , char **value ); -Ipc_Status_t ipc_send_evtdict_prefix (); -Ipc_Status_t ipc_send_evtdict_suffix (); -Ipc_Status_t ipc_send_evtdata_prefix (); -Ipc_Status_t ipc_send_evtdata_suffix (); +Ipc_Status_t ipc_send_evtdict_prefix (void ); +Ipc_Status_t ipc_send_evtdict_suffix (void ); +Ipc_Status_t ipc_send_evtdata_prefix (void ); +Ipc_Status_t ipc_send_evtdata_suffix (void ); Ipc_Status_t ipc_send_event(int, double, double, char *, void *, int); /* IPCtiein.c */ diff --git a/src/xspice/cmpp/ifs_yacc.y b/src/xspice/cmpp/ifs_yacc.y index 66578cea1..914f1faff 100755 --- a/src/xspice/cmpp/ifs_yacc.y +++ b/src/xspice/cmpp/ifs_yacc.y @@ -93,7 +93,7 @@ extern int yyival; extern double yydval; extern char *ifs_yytext; extern void yyerror (char*); - extern int ifs_yylex(); + extern int ifs_yylex(void); Boolean_t parser_just_names; static Boolean_t saw_model_name; diff --git a/src/xspice/cmpp/mod_yacc.y b/src/xspice/cmpp/mod_yacc.y index 2b6fcfb04..0c9d56685 100755 --- a/src/xspice/cmpp/mod_yacc.y +++ b/src/xspice/cmpp/mod_yacc.y @@ -53,6 +53,8 @@ NON-STANDARD FEATURES #include #include "mod_yacc_y.h" +extern int mod_yylex(void); + #define yymaxdepth mod_yymaxdepth #define yyparse mod_yyparse #define yylex mod_yylex diff --git a/src/xspice/cmpp/pp_mod.c b/src/xspice/cmpp/pp_mod.c index cb414dca2..cef47af32 100755 --- a/src/xspice/cmpp/pp_mod.c +++ b/src/xspice/cmpp/pp_mod.c @@ -60,7 +60,7 @@ NON-STANDARD FEATURES #include #include "cmpp.h" -extern int mod_yyparse(); +extern int mod_yyparse(void); extern void mod_yyrestart (FILE*); /*---------------------------------------------------------------------------*/ diff --git a/src/xspice/cmpp/read_ifs.c b/src/xspice/cmpp/read_ifs.c index f26f0b5ac..498a58c21 100755 --- a/src/xspice/cmpp/read_ifs.c +++ b/src/xspice/cmpp/read_ifs.c @@ -51,7 +51,7 @@ NON-STANDARD FEATURES #include "cmpp.h" extern char *prog_name; -extern int ifs_yyparse (); +extern int ifs_yyparse (void); extern void ifs_yyrestart (FILE*); void *malloc(unsigned size);