From: Bodo Möller Date: Mon, 4 Sep 2000 15:29:06 +0000 (+0000) Subject: -Wall insists that main return an int. X-Git-Tag: OpenSSL-engine-0_9_6-beta1~12^2~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=54705b399263b7cc93b037dd77e94eadfeee068e;p=oweals%2Fopenssl.git -Wall insists that main return an int. --- diff --git a/demos/state_machine/state_machine.c b/demos/state_machine/state_machine.c index b66d059266..690423e476 100644 --- a/demos/state_machine/state_machine.c +++ b/demos/state_machine/state_machine.c @@ -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; }