Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys Override roundup.
details: https://anonhg.NetBSD.org/src/rev/58ddfc4e8d1a
branches: trunk
changeset: 342562:58ddfc4e8d1a
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 27 21:40:21 2015 +0000
description:
Override roundup.
diffstat:
external/cddl/osnet/sys/sys/sysmacros.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r b9163197eecb -r 58ddfc4e8d1a external/cddl/osnet/sys/sys/sysmacros.h
--- a/external/cddl/osnet/sys/sys/sysmacros.h Sun Dec 27 21:39:34 2015 +0000
+++ b/external/cddl/osnet/sys/sys/sysmacros.h Sun Dec 27 21:40:21 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmacros.h,v 1.5 2015/02/07 20:30:04 christos Exp $ */
+/* $NetBSD: sysmacros.h,v 1.6 2015/12/27 21:40:21 christos Exp $ */
/*
* CDDL HEADER START
@@ -230,6 +230,7 @@
*/
#undef howmany
#define howmany(x, y) (((x)+((y)-1))/(y))
+#undef roundup
#define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
#endif /* !__NetBSD__ */
Home |
Main Index |
Thread Index |
Old Index