Module Name: src
Committed By: christos
Date: Sun Dec 27 21:40:21 UTC 2015
Modified Files:
src/external/cddl/osnet/sys/sys: sysmacros.h
Log Message:
Override roundup.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/cddl/osnet/sys/sys/sysmacros.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/cddl/osnet/sys/sys/sysmacros.h
diff -u src/external/cddl/osnet/sys/sys/sysmacros.h:1.5 src/external/cddl/osnet/sys/sys/sysmacros.h:1.6
--- src/external/cddl/osnet/sys/sys/sysmacros.h:1.5 Sat Feb 7 15:30:04 2015
+++ src/external/cddl/osnet/sys/sys/sysmacros.h Sun Dec 27 16:40:21 2015
@@ -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 @@ extern unsigned char bcd_to_byte[256];
*/
#undef howmany
#define howmany(x, y) (((x)+((y)-1))/(y))
+#undef roundup
#define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
#endif /* !__NetBSD__ */