From 8a1b85c1a546418c95f12ad2bd6427c5244fdfbb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 14 Jan 2007 02:08:20 +0000 Subject: avahi: more sparse fixes (-Wshadow, non-ANSI declarations) git-svn-id: https://svn.musicpd.org/mpd/trunk@5248 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/interface.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/interface.c') diff --git a/src/interface.c b/src/interface.c index 1e6fb4445..4c2190783 100644 --- a/src/interface.c +++ b/src/interface.c @@ -512,15 +512,15 @@ int doIOForInterfaces(void) // Add fds for all registered IO handlers if( ioList ) { - struct ioOps *i = ioList; - while( i ) { - struct ioOps *current = i; + struct ioOps *o = ioList; + while( o ) { + struct ioOps *current = o; int fdnum; assert( current->fdset ); fdnum = current->fdset( &rfds, &wfds, &efds ); if( fdmax < fdnum ) fdmax = fdnum; - i = i->next; + o = o->next; } } @@ -531,12 +531,12 @@ int doIOForInterfaces(void) // Consume fds for all registered IO handlers if( ioList ) { - struct ioOps *i = ioList; - while( i ) { - struct ioOps *current = i; + struct ioOps *o = ioList; + while( o ) { + struct ioOps *current = o; assert( current->consume ); selret = current->consume( selret, &rfds, &wfds, &efds ); - i = i->next; + o = o->next; } } -- cgit v1.2.3