diff options
author | 2003-08-11 06:23:07 +0000 | |
---|---|---|
committer | 2003-08-11 06:23:07 +0000 | |
commit | 599546b3df9d501c5df00d16afc0d6ef8054a751 (patch) | |
tree | 497dafb2e950a5b91385da061a8c32b00de30455 /sys/lib/libsa/dev.c | |
parent | make sure Debugger() is called only inside _both_ DDB and OSIOP_DEBUG (diff) | |
download | wireguard-openbsd-599546b3df9d501c5df00d16afc0d6ef8054a751.tar.xz wireguard-openbsd-599546b3df9d501c5df00d16afc0d6ef8054a751.zip |
ansification and knf and protos
Diffstat (limited to 'sys/lib/libsa/dev.c')
-rw-r--r-- | sys/lib/libsa/dev.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/lib/libsa/dev.c b/sys/lib/libsa/dev.c index b0d0d012696..c5a86655d9b 100644 --- a/sys/lib/libsa/dev.c +++ b/sys/lib/libsa/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.3 2003/06/02 23:28:09 millert Exp $ */ +/* $OpenBSD: dev.c,v 1.4 2003/08/11 06:23:09 deraadt Exp $ */ /* $NetBSD: dev.c,v 1.4 1994/10/30 21:48:23 cgd Exp $ */ /*- @@ -40,22 +40,19 @@ int errno; 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, u_long cmd, void *data) { return (EINVAL); } |