aboutsummaryrefslogtreecommitdiff
path: root/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
commit1a41e91a35c8f69ab80138a2029a109f722809aa (patch)
tree6423fb2abd808d871824259d8e0c155ee5a6affd /tcp_timer.c
parent1293dfd90ff9a070245c1f6a34b2eca7915006eb (diff)
downloadslirp-1a41e91a35c8f69ab80138a2029a109f722809aa.zip
slirp-1a41e91a35c8f69ab80138a2029a109f722809aa.tar.gz
slirp-1a41e91a35c8f69ab80138a2029a109f722809aa.tar.bz2
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 'tcp_timer.c')
-rw-r--r--tcp_timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tcp_timer.c b/tcp_timer.c
index af8e918..8942ca4 100644
--- a/tcp_timer.c
+++ b/tcp_timer.c
@@ -43,7 +43,7 @@ static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer);
/*
* Fast timeout routine for processing delayed acks
*/
-void tcp_fasttimo()
+void tcp_fasttimo(void)
{
register struct socket *so;
register struct tcpcb *tp;
@@ -67,7 +67,7 @@ void tcp_fasttimo()
* Updates the timers in all active tcb's and
* causes finite state machine actions if timers expire.
*/
-void tcp_slowtimo()
+void tcp_slowtimo(void)
{
register struct socket *ip, *ipnxt;
register struct tcpcb *tp;
@@ -109,7 +109,7 @@ void tcp_slowtimo()
/*
* Cancel all timers for TCP tp.
*/
-void tcp_canceltimers(tp) struct tcpcb *tp;
+void tcp_canceltimers(struct tcpcb *tp)
{
register int i;