diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-27 04:57:37 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-27 04:57:37 +0000 |
commit | 685f9a3c03f78a2aa869a5b1b1be78f891d74917 (patch) | |
tree | f799cc3f0c62358a9f5fcd085c9881abb5e3532a /sys | |
parent | 74f1098d737124e478b310a0e4a3df56b45c6dee (diff) |
Fix chrtoblk() and blktochr() prototypes to reflect that they return
dev_t, not int.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/conf.h | 6 |
1 files 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); |