From 685f9a3c03f78a2aa869a5b1b1be78f891d74917 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Mon, 27 Jun 2011 04:57:37 +0000 Subject: Fix chrtoblk() and blktochr() prototypes to reflect that they return dev_t, not int. --- sys/sys/conf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 2cb0b7dc6bf..0e9a329b458 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.110 2011/01/25 20:03:35 jakemsr Exp $ */ +/* $OpenBSD: conf.h,v 1.111 2011/06/27 04:57:36 matthew Exp $ */ /* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */ /*- @@ -565,8 +565,8 @@ extern int nchrtoblktbl; struct bdevsw *bdevsw_lookup(dev_t); struct cdevsw *cdevsw_lookup(dev_t); -int chrtoblk(dev_t); -int blktochr(dev_t); +dev_t chrtoblk(dev_t); +dev_t blktochr(dev_t); int iskmemdev(dev_t); int iszerodev(dev_t); dev_t getnulldev(void); -- cgit v1.2.3