-Wall insists that main return an int.

This commit is contained in:
Bodo Möller 2000-09-04 15:29:06 +00:00
parent 4ed601b172
commit 54705b3992

View file

@ -258,7 +258,7 @@ int OpenSocket(int nPort)
return nFD;
}
void main(int argc,char **argv)
int main(int argc,char **argv)
{
SSLStateMachine *pMachine;
int nPort;
@ -366,4 +366,6 @@ void main(int argc,char **argv)
SSLStateMachine_write_inject(pMachine,buf,n);
}
}
/* not reached */
return 0;
}