diff options
author | markm <markm@FreeBSD.org> | 2003-10-18 09:16:01 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-10-18 09:16:01 +0000 |
commit | 715845d8e6015fb0f0e79b90a68c3c543ec5e546 (patch) | |
tree | 5acf6da41ec5e6b67aaf347816500536537e731f /sys | |
parent | 3dfc831549729fecf05cda278554a643f0f15049 (diff) | |
download | FreeBSD-src-715845d8e6015fb0f0e79b90a68c3c543ec5e546.zip FreeBSD-src-715845d8e6015fb0f0e79b90a68c3c543ec5e546.tar.gz |
Mark as __unused some arguments that are, erm, unused.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/null/null.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/null/null.c b/sys/dev/null/null.c index f1cbee6..e5d866c 100644 --- a/sys/dev/null/null.c +++ b/sys/dev/null/null.c @@ -71,8 +71,9 @@ static struct cdevsw zero_cdevsw = { static void *zbuf; +/* ARGSUSED */ static int -null_read(dev_t dev __unused, struct uio *uio, int flags __unused) +null_read(dev_t dev __unused, struct uio *uio __unused, int flags __unused) { return 0; @@ -86,8 +87,10 @@ null_write(dev_t dev __unused, struct uio *uio, int flags __unused) return 0; } +/* ARGSUSED */ static int -null_ioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct thread *td) +null_ioctl(dev_t dev __unused, u_long cmd, caddr_t data __unused, + int flags __unused, struct thread *td) { int error; |