summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-10-15 10:12:14 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-10-15 10:12:14 +0000
commit2413749542a6c51a313edf3c67c2c2450eb675c5 (patch)
tree1786f8bf0addd8c5415582df3b0b91c48f735032 /sys/arch/loongson
parente1bc9bb36fd8a33f6d06022111a1b08bfa9f08a2 (diff)
ansi
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/loongson/conf.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/loongson/loongson/conf.c b/sys/arch/loongson/loongson/conf.c
index a7dea856e54..a4005114904 100644
--- a/sys/arch/loongson/loongson/conf.c
+++ b/sys/arch/loongson/loongson/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.32 2022/09/02 20:06:56 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.33 2022/10/15 10:12:13 jsg Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -250,8 +250,7 @@ dev_t swapdev = makedev(1, 0);
* A minimal stub routine can always return 0.
*/
int
-iskmemdev(dev)
- dev_t dev;
+iskmemdev(dev_t dev)
{
if (major(dev) == 3 && (minor(dev) == 0 || minor(dev) == 1))
@@ -263,14 +262,13 @@ iskmemdev(dev)
* Returns true if def is /dev/zero
*/
int
-iszerodev(dev)
- dev_t dev;
+iszerodev(dev_t dev)
{
return (major(dev) == 3 && minor(dev) == 12);
}
dev_t
-getnulldev()
+getnulldev(void)
{
return(makedev(3, 2));
}