-Wall insists that main return an int.
This commit is contained in:
parent
4ed601b172
commit
54705b3992
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue