aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-10 21:10:04 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-10 21:10:04 +0000
commit5c5c1206a0b958b1968ffc579e34c23b42fdfad8 (patch)
treee5fe0bde9f2df3d2cc509f285c65cd232417974d /include
parent629f375c6772f9b889e7d31fe168b42ebb97310a (diff)
Fix this again so we can compile with shadow warnings enabled and IMAP chosen
in voicemail. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137112 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/channel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 9356bd84f..95bc7c08b 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -1510,16 +1510,16 @@ static inline int ast_add_fd(struct pollfd *pfd, int fd)
}
/*! \brief Helper function for migrating select to poll */
-static inline int ast_fdisset(struct pollfd *pfds, int fd, int max, int *start)
+static inline int ast_fdisset(struct pollfd *pfds, int fd, int maximum, int *start)
{
int x;
- int dummy=0;
+ int dummy = 0;
if (fd < 0)
return 0;
if (!start)
start = &dummy;
- for (x = *start; x<max; x++)
+ for (x = *start; x < maximum; x++)
if (pfds[x].fd == fd) {
if (x == *start)
(*start)++;