aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-01-14 02:08:20 +0000
committerEric Wong <normalperson@yhbt.net>2007-01-14 02:08:20 +0000
commit8a1b85c1a546418c95f12ad2bd6427c5244fdfbb (patch)
tree3dbd0d88b132b16db73324525d1e0c3717f0cdeb /src/interface.c
parent6b9fc5683953b06e7838520333539994d85e009b (diff)
downloadmpd-8a1b85c1a546418c95f12ad2bd6427c5244fdfbb.tar.gz
mpd-8a1b85c1a546418c95f12ad2bd6427c5244fdfbb.tar.xz
mpd-8a1b85c1a546418c95f12ad2bd6427c5244fdfbb.zip
avahi: more sparse fixes (-Wshadow, non-ANSI declarations)
git-svn-id: https://svn.musicpd.org/mpd/trunk@5248 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c16
1 files changed, 8 insertions, 8 deletions
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;
}
}