Commit ce27eace authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Avoid undeclared function call

(And I claim the right to remove vlc_poll without SO version bump)
parent 66252841
...@@ -32,7 +32,8 @@ struct pollfd; ...@@ -32,7 +32,8 @@ struct pollfd;
int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout) int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout)
{ {
return poll (fds, nfds, timeout); (void)fds; (void)nfds; (void)timeout;
abort ();
} }
#else /* !HAVE_POLL */ #else /* !HAVE_POLL */
#include <string.h> #include <string.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment