summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2013-02-12 07:31:13 +0000
committermpi <mpi@openbsd.org>2013-02-12 07:31:13 +0000
commit6509ae5655ddaa75c407c660308b558633a32b80 (patch)
tree93a1ca6a345519029b9f93eedc967f70a0afa08c
parentremove acss here too (diff)
downloadwireguard-openbsd-6509ae5655ddaa75c407c660308b558633a32b80.tar.xz
wireguard-openbsd-6509ae5655ddaa75c407c660308b558633a32b80.zip
Unbreak the tree by adding missing defines. Forgot to sync in previous
spotted by todd@.
-rw-r--r--lib/libc/gmon/gmon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c
index 01a2e46d14c..13c7a9a4847 100644
--- a/lib/libc/gmon/gmon.c
+++ b/lib/libc/gmon/gmon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gmon.c,v 1.20 2005/11/20 17:06:06 millert Exp $ */
+/* $OpenBSD: gmon.c,v 1.21 2013/02/12 07:31:13 mpi Exp $ */
/*-
* Copyright (c) 1983, 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -47,6 +47,9 @@ static int s_scale;
/* see profil(2) where this is describe (incorrectly) */
#define SCALE_1_TO_1 0x10000L
+#define ROUNDDOWN(x,y)(((x)/(y))*(y))
+#define ROUNDUP(x,y)((((x)+(y)-1)/(y))*(y))
+
#define ERR(s) write(STDERR_FILENO, s, sizeof(s))
void moncontrol(int);