diff options
author | Bodo Möller <bodo@openssl.org> | 2000-09-04 15:29:06 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-09-04 15:29:06 +0000 |
commit | 54705b399263b7cc93b037dd77e94eadfeee068e (patch) | |
tree | 6b5551d226d48a1abb3f1616c0ce3c1f4a26e00d /demos/state_machine/state_machine.c | |
parent | 4ed601b17269378c46fe4e2b78ff4625d56e5ada (diff) |
-Wall insists that main return an int.
Diffstat (limited to 'demos/state_machine/state_machine.c')
-rw-r--r-- | demos/state_machine/state_machine.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |