aboutsummaryrefslogtreecommitdiff
path: root/slirp/tcp_timer.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-18 07:32:41 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-18 07:32:41 +0000
commitaeed97c4cfc1ed79e45daf908ff29b7b1ad9469b (patch)
treefc959284d2a023f40634104be56b8d5156f7df67 /slirp/tcp_timer.c
parent654efcf3ede6d74657baafec14b1d3560d888620 (diff)
Use ANSI prototypes to please sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7176 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/tcp_timer.c')
-rw-r--r--slirp/tcp_timer.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/slirp/tcp_timer.c b/slirp/tcp_timer.c
index 47f01bb966..9215eb2e61 100644
--- a/slirp/tcp_timer.c
+++ b/slirp/tcp_timer.c
@@ -44,7 +44,7 @@ static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer);
* Fast timeout routine for processing delayed acks
*/
void
-tcp_fasttimo()
+tcp_fasttimo(void)
{
register struct socket *so;
register struct tcpcb *tp;
@@ -69,7 +69,7 @@ tcp_fasttimo()
* causes finite state machine actions if timers expire.
*/
void
-tcp_slowtimo()
+tcp_slowtimo(void)
{
register struct socket *ip, *ipnxt;
register struct tcpcb *tp;
@@ -113,8 +113,7 @@ tpgone:
* Cancel all timers for TCP tp.
*/
void
-tcp_canceltimers(tp)
- struct tcpcb *tp;
+tcp_canceltimers(struct tcpcb *tp)
{
register int i;