summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-06-01 18:56:26 +0000
committerphk <phk@FreeBSD.org>1999-06-01 18:56:26 +0000
commita6b150ee302f4f0c2992587f09851072b40aaa39 (patch)
tree0f00a280cf192732bc7224beff8e08c4b4b6940d /sys/kern/kern_conf.c
parent91a6d42ba0db00e8c993ea7b50fa1cf1543e21f1 (diff)
downloadFreeBSD-src-a6b150ee302f4f0c2992587f09851072b40aaa39.zip
FreeBSD-src-a6b150ee302f4f0c2992587f09851072b40aaa39.tar.gz
Introduce the makebdev() function, it does the same as the makedev()
function for now, but that will change.
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index b09b04c..b8f8586 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_conf.c,v 1.40 1999/05/18 13:14:43 luoqi Exp $
+ * $Id: kern_conf.c,v 1.41 1999/05/31 11:27:28 phk Exp $
*/
#include <sys/param.h>
@@ -191,6 +191,12 @@ minor(dev_t x)
}
dev_t
+makebdev(int x, int y)
+{
+ return (makedev(x, y));
+}
+
+dev_t
makedev(int x, int y)
{
#ifdef DEVT_FASCIST
OpenPOWER on IntegriCloud