diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-12-06 18:44:50 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-12-06 18:44:50 +0000 |
commit | c35b9bdae7316474e01b5a2ba9dcf3631b975901 (patch) | |
tree | e2584f7866a69b7d5115c88c8916474d2dc7c70b /sys/arch/socppc/stand/boot/dev_socppc.c | |
parent | adc400522ede0d3382b10f47167d1652125bd6e6 (diff) |
- drop NENTS(), which was yet another copy of nitems().
no binary change
ok deraadt@
Diffstat (limited to 'sys/arch/socppc/stand/boot/dev_socppc.c')
-rw-r--r-- | sys/arch/socppc/stand/boot/dev_socppc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/stand/boot/dev_socppc.c b/sys/arch/socppc/stand/boot/dev_socppc.c index 9fa311e57f7..204fa315022 100644 --- a/sys/arch/socppc/stand/boot/dev_socppc.c +++ b/sys/arch/socppc/stand/boot/dev_socppc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev_socppc.c,v 1.1 2008/05/10 20:06:26 kettenis Exp $ */ +/* $OpenBSD: dev_socppc.c,v 1.2 2010/12/06 18:44:49 jasper Exp $ */ /* * Copyright (c) 2008 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) |