projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed601b
)
-Wall insists that main return an int.
author
Bodo Möller
<bodo@openssl.org>
Mon, 4 Sep 2000 15:29:06 +0000
(15:29 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 4 Sep 2000 15:29:06 +0000
(15:29 +0000)
demos/state_machine/state_machine.c
patch
|
blob
|
history
diff --git
a/demos/state_machine/state_machine.c
b/demos/state_machine/state_machine.c
index b66d0592660d8157e723427790055ef15d334753..690423e4768e243493b5d42f1f10e01629815090 100644
(file)
--- 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;
}