diff options
Diffstat (limited to 'usr/src/boot/lib/libstand/dev.c')
-rw-r--r-- | usr/src/boot/lib/libstand/dev.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/usr/src/boot/lib/libstand/dev.c b/usr/src/boot/lib/libstand/dev.c index 482c082117..89d7867ec6 100644 --- a/usr/src/boot/lib/libstand/dev.c +++ b/usr/src/boot/lib/libstand/dev.c @@ -1,6 +1,6 @@ /* $NetBSD: dev.c,v 1.4 1994/10/30 21:48:23 cgd Exp $ */ -/*- +/* * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. * @@ -12,7 +12,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -32,7 +32,6 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/reboot.h> @@ -40,22 +39,18 @@ __FBSDID("$FreeBSD$"); #include "stand.h" int -nodev() +nodev(void) { return (ENXIO); } void -nullsys() +nullsys(void) { } -/* ARGSUSED */ int -noioctl(f, cmd, data) - struct open_file *f; - u_long cmd; - void *data; +noioctl(struct open_file *f __unused, ulong_t cmd __unused, void *data __unused) { return (EINVAL); } |