From 8d57be2b6fead7d99f1789e8398736f2bb46515e Mon Sep 17 00:00:00 2001 From: "Anton D. Kachalov" Date: Wed, 26 Aug 2015 00:14:50 +0300 Subject: [PATCH] Eliminate compilation warnings Signed-off-by: Anton D. Kachalov --- fs/vfs/fs_poll.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/vfs/fs_poll.c b/fs/vfs/fs_poll.c index 10852e7d91..f13148288c 100644 --- a/fs/vfs/fs_poll.c +++ b/fs/vfs/fs_poll.c @@ -49,6 +49,7 @@ #include #include #include +#include #include @@ -326,8 +327,6 @@ int file_poll(int fd, FAR struct pollfd *fds, bool setup) int poll(FAR struct pollfd *fds, nfds_t nfds, int timeout) { - struct timespec abstime; - irqstate_t flags; sem_t sem; int count = 0; int ret;