summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-06-25 12:27:37 +0300
committerMartin Storsjö <martin@martin.st>2012-06-30 15:18:17 +0300
commitcab2eb87f9d692f543d11057dbfac4e590570b18 (patch)
treef19ab8cb9b2a15f540d4ea26e12c8c120497862d /libavformat/os_support.c
parentcdee08e36582e443ff8a9bed17ec409551c9f93b (diff)
os_support: Rename the poll fallback function to ff_poll
The fallback function is a non-static function, we shouldn't be defining non-static functions outside of the proper ff/av prefix namespaces. This is especially important for a function like poll, which other parties (other libraries, or executables linking these libraries) also might provide similar but incompatible fallbacks for. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r--libavformat/os_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index 49ec0c60d1..6d8c8ac6a3 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -266,7 +266,7 @@ int ff_socket_nonblock(int socket, int enable)
}
#if !HAVE_POLL_H
-int poll(struct pollfd *fds, nfds_t numfds, int timeout)
+int ff_poll(struct pollfd *fds, nfds_t numfds, int timeout)
{
fd_set read_set;
fd_set write_set;