[vlc-devel] commit: Avoid undeclared function call ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Aug 7 21:55:28 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Aug  7 22:57:22 2008 +0300| [ce27eace14ba974c24d393b8b7d56f2ea7dbad72] | committer: Rémi Denis-Courmont 

Avoid undeclared function call

(And I claim the right to remove vlc_poll without SO version bump)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce27eace14ba974c24d393b8b7d56f2ea7dbad72
---

 src/network/poll.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/network/poll.c b/src/network/poll.c
index 2bef3f5..d65eccd 100644
--- a/src/network/poll.c
+++ b/src/network/poll.c
@@ -32,7 +32,8 @@ struct pollfd;
 
 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 */
 #include <string.h>




More information about the vlc-devel mailing list