deprecated more than 25 years ago and removed more than 20.
From Crystal Kolipe, thanks!
-/* $OpenBSD: conf.c,v 1.77 2023/01/14 12:11:10 kettenis Exp $ */
+/* $OpenBSD: conf.c,v 1.78 2023/03/06 17:20:05 miod Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
iskmemdev(dev_t dev)
{
- return (major(dev) == mem_no && (minor(dev) < 2 || minor(dev) == 14));
+ return (major(dev) == mem_no && minor(dev) < 2);
}
/*
-/* $OpenBSD: conf.c,v 1.21 2023/01/14 12:11:11 kettenis Exp $ */
+/* $OpenBSD: conf.c,v 1.22 2023/03/06 17:20:06 miod Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
iskmemdev(dev_t dev)
{
- return (major(dev) == CMAJ_MM && (minor(dev) < 2 || minor(dev) == 14));
+ return (major(dev) == CMAJ_MM && minor(dev) < 2);
}
/*
-/* $OpenBSD: conf.c,v 1.175 2023/01/30 10:49:04 jsg Exp $ */
+/* $OpenBSD: conf.c,v 1.176 2023/03/06 17:20:06 miod Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
int
iskmemdev(dev_t dev)
{
- return (major(dev) == mem_no && (minor(dev) < 2 || minor(dev) == 14));
+ return (major(dev) == mem_no && minor(dev) < 2);
}
/*
-/* $OpenBSD: conf.c,v 1.16 2023/01/24 13:29:51 jca Exp $ */
+/* $OpenBSD: conf.c,v 1.17 2023/03/06 17:20:06 miod Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
iskmemdev(dev_t dev)
{
- return (major(dev) == mem_no && (minor(dev) < 2 || minor(dev) == 14));
+ return (major(dev) == mem_no && minor(dev) < 2);
}
/*