summaryrefslogtreecommitdiffstats
path: root/sys/sys/conf.h
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2011-06-27 04:57:36 +0000
committermatthew <matthew@openbsd.org>2011-06-27 04:57:36 +0000
commit0465d7b3b91bce7326e34caa6093bcbba0854eaa (patch)
treeae8d2ddfe7df82c334318a3d1fc93881710445d5 /sys/sys/conf.h
parentThere is no CCDNBUF option (diff)
downloadwireguard-openbsd-0465d7b3b91bce7326e34caa6093bcbba0854eaa.tar.xz
wireguard-openbsd-0465d7b3b91bce7326e34caa6093bcbba0854eaa.zip
Fix chrtoblk() and blktochr() prototypes to reflect that they return
dev_t, not int.
Diffstat (limited to 'sys/sys/conf.h')
-rw-r--r--sys/sys/conf.h6
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);