@@ -106,7 +106,7 @@ bool EXPRESSignore_duplicate_schemas = false;
106106
107107Function funcdef (char * name , int pcount , Type ret_typ );
108108void procdef (char * name , int pcount );
109- void BUILTINSinitialize ();
109+ void BUILTINSinitialize (void );
110110Dictionary EXPRESSbuiltins ; /* procedures/functions */
111111
112112
@@ -143,7 +143,7 @@ int EXPRESS_succeed( Express model ) {
143143 return 0 ;
144144}
145145
146- Express EXPRESScreate () {
146+ Express EXPRESScreate (void ) {
147147 Express model = SCOPEcreate ( OBJ_EXPRESS );
148148 model -> u .express = ( struct Express_ * )calloc ( 1 , sizeof ( struct Express_ ) );
149149 return model ;
@@ -166,7 +166,7 @@ typedef struct Dir {
166166 char * leaf ;
167167} Dir ;
168168
169- static void EXPRESS_PATHinit () {
169+ static void EXPRESS_PATHinit (void ) {
170170 char * p ;
171171 Dir * dir ;
172172
@@ -245,7 +245,7 @@ static void EXPRESS_PATHfree( void ) {
245245}
246246
247247/** inform object system about bit representation for handling pass diagnostics */
248- void PASSinitialize () {
248+ void PASSinitialize (void ) {
249249}
250250
251251/** Initialize the Express package. */
@@ -353,7 +353,7 @@ void EXPRESSparse( Express model, FILE * fp, char * filename ) {
353353}
354354
355355/* TODO LEMON ought to put this in expparse.h */
356- void parserInitState ();
356+ void parserInitState (void );
357357
358358/** start parsing a new schema file */
359359static Express PARSERrun ( char * filename , FILE * fp ) {
@@ -798,7 +798,7 @@ void procdef(char *name, int pcount) {
798798 DICTdefine (EXPRESSbuiltins , name , p , 0 , OBJ_PROCEDURE );
799799}
800800
801- void BUILTINSinitialize () {
801+ void BUILTINSinitialize (void ) {
802802 EXPRESSbuiltins = DICTcreate ( 35 );
803803 procdef ("INSERT" , 3 );
804804 procdef ("REMOVE" , 2 );
0 commit comments