From 7a636521b16f193c5966ff8d25d205d831b77f0b Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Sun, 10 Aug 2008 21:10:04 +0000 Subject: Fix this again so we can compile with shadow warnings enabled and IMAP chosen in voicemail. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137112 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/channel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/asterisk/channel.h') 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