mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
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>
This commit is contained in:
@@ -101,7 +101,8 @@ struct pollfd {
|
||||
#endif
|
||||
|
||||
|
||||
int poll(struct pollfd *fds, nfds_t numfds, int timeout);
|
||||
int ff_poll(struct pollfd *fds, nfds_t numfds, int timeout);
|
||||
#define poll ff_poll
|
||||
#endif /* HAVE_POLL_H */
|
||||
#endif /* CONFIG_NETWORK */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user