From 148cde5e982950ad5836fa96baa466de842e1c14 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 27 Feb 2007 21:17:21 +0000 Subject: Finally, a clean SDCC compile git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/drivers/dev_null.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nuttx/drivers/dev_null.c') diff --git a/nuttx/drivers/dev_null.c b/nuttx/drivers/dev_null.c index f4211b513..1d449df1f 100644 --- a/nuttx/drivers/dev_null.c +++ b/nuttx/drivers/dev_null.c @@ -61,8 +61,11 @@ static ssize_t devnull_write(struct file *, const char *, size_t); static struct file_operations devnull_fops = { - .read = devnull_read, - .write = devnull_write, + NULL, /* open */ + NULL, /* close */ + devnull_read, /* read */ + devnull_write, /* write */ + NULL /* ioctl */ }; /************************************************************ -- cgit v1.2.3