diff options
Diffstat (limited to 'sys/arch/armish/stand')
-rw-r--r-- | sys/arch/armish/stand/boot/conf.c | 6 | ||||
-rw-r--r-- | sys/arch/armish/stand/boot/dev_armish.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/armish/stand/boot/conf.c b/sys/arch/armish/stand/boot/conf.c index e597cc4c890..65f7f1aaf84 100644 --- a/sys/arch/armish/stand/boot/conf.c +++ b/sys/arch/armish/stand/boot/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.4 2008/04/19 23:20:22 weingart Exp $ */ +/* $OpenBSD: conf.c,v 1.5 2010/12/06 18:44:49 jasper Exp $ */ /* $NetBSD: conf.c,v 1.4 2005/12/11 12:17:06 christos Exp $ */ /* @@ -48,7 +48,7 @@ int debug = 0; struct devsw devsw[] = { { "wd", wdstrategy, wdopen, wdclose, noioctl }, }; -int ndevs = NENTS(devsw); +int ndevs = nitems(devsw); /* * Filesystem configuration @@ -57,7 +57,7 @@ struct fs_ops file_system[] = { { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat, ufs_readdir } }; -int nfsys = NENTS(file_system); +int nfsys = nitems(file_system); /* * Console configuration diff --git a/sys/arch/armish/stand/boot/dev_armish.c b/sys/arch/armish/stand/boot/dev_armish.c index 40e0293f07a..860b9ad2d62 100644 --- a/sys/arch/armish/stand/boot/dev_armish.c +++ b/sys/arch/armish/stand/boot/dev_armish.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev_armish.c,v 1.1 2006/07/29 15:01:49 kettenis Exp $ */ +/* $OpenBSD: dev_armish.c,v 1.2 2010/12/06 18:44:49 jasper Exp $ */ /* * Copyright (c) 2006 Mark Kettenis @@ -25,7 +25,7 @@ const char cdevs[][4] = { "cn", "", "", "", "", "", "", "", "", "", "", "", "com" }; -const int ncdevs = NENTS(cdevs); +const int ncdevs = nitems(cdevs); void devboot(dev_t dev, char *p) |