diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-10-15 10:12:14 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-10-15 10:12:14 +0000 |
commit | 2413749542a6c51a313edf3c67c2c2450eb675c5 (patch) | |
tree | 1786f8bf0addd8c5415582df3b0b91c48f735032 /sys/arch/landisk | |
parent | e1bc9bb36fd8a33f6d06022111a1b08bfa9f08a2 (diff) |
ansi
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r-- | sys/arch/landisk/landisk/conf.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/landisk/landisk/conf.c b/sys/arch/landisk/landisk/conf.c index d20bd3ca471..f49455d43e6 100644 --- a/sys/arch/landisk/landisk/conf.c +++ b/sys/arch/landisk/landisk/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.45 2022/09/02 20:06:56 miod Exp $ */ +/* $OpenBSD: conf.c,v 1.46 2022/10/15 10:12:13 jsg Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -380,8 +380,7 @@ dev_t swapdev = makedev(1, 0); * Returns true if dev is /dev/mem or /dev/kmem. */ int -iskmemdev(dev) - dev_t dev; +iskmemdev(dev_t dev) { return (major(dev) == mem_no && minor(dev) < 2); } @@ -390,8 +389,7 @@ iskmemdev(dev) * Returns true if dev is /dev/zero. */ int -iszerodev(dev) - dev_t dev; +iszerodev(dev_t dev) { return (major(dev) == mem_no && minor(dev) == 3); } |