Change poll() to ast_poll().
authorRussell Bryant <russell@russellbryant.com>
Wed, 25 Mar 2009 02:03:13 +0000 (02:03 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 25 Mar 2009 02:03:13 +0000 (02:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184151 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/timing.c

index fbc2f21..0a58859 100644 (file)
@@ -290,7 +290,7 @@ static char *timing_test(struct ast_cli_entry *e, int cmd, struct ast_cli_args *
                        .events = POLLIN | POLLPRI,
                };
 
-               res = poll(&pfd, 1, 100);
+               res = ast_poll(&pfd, 1, 100);
 
                if (res == 1) {
                        count++;