mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
Use ANSI prototypes to please sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7176 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
654efcf3ed
commit
aeed97c4cf
2 changed files with 8 additions and 17 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue