From 9ba03c82ee45eae5baf90cd2aadcd087ab4728ca Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 19 Nov 2008 18:43:50 +0000 Subject: [PATCH] Move poll save area back into struct pollfd (as it was git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1288 42af7a65-404d-4744-a932-0658087f49c3 --- arch/sim/src/up_devconsole.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/sim/src/up_devconsole.c b/arch/sim/src/up_devconsole.c index 89eb33c33e9..551d21600b1 100644 --- a/arch/sim/src/up_devconsole.c +++ b/arch/sim/src/up_devconsole.c @@ -54,7 +54,8 @@ static ssize_t devconsole_read(struct file *, char *, size_t); static ssize_t devconsole_write(struct file *, const char *, size_t); #ifndef CONFIG_DISABLE_POLL -static int devconsole_poll(FAR struct file *filep, FAR struct pollfd *fds); +static int devconsole_poll(FAR struct file *filep, FAR struct pollfd *fds, + boolean setup); #endif /**************************************************************************** @@ -85,7 +86,8 @@ static ssize_t devconsole_write(struct file *filp, const char *buffer, size_t le } #ifndef CONFIG_DISABLE_POLL -static int devconsole_poll(FAR struct file *filep, FAR struct pollfd *fds) +static int devconsole_poll(FAR struct file *filep, FAR struct pollfd *fds, + boolean setup) { return OK; }