summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-09-04 17:29:06 +0200
committerBodo Möller <bodo@openssl.org>2000-09-04 17:29:06 +0200
commit54705b399263b7cc93b037dd77e94eadfeee068e (patch)
tree6b5551d226d48a1abb3f1616c0ce3c1f4a26e00d /demos
parentInclude MD4 in documentation. (diff)
downloadopenssl-54705b399263b7cc93b037dd77e94eadfeee068e.tar.xz
openssl-54705b399263b7cc93b037dd77e94eadfeee068e.zip
-Wall insists that main return an int.
Diffstat (limited to 'demos')
-rw-r--r--demos/state_machine/state_machine.c4
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;
}