diff options
author | 2013-02-12 07:31:13 +0000 | |
---|---|---|
committer | 2013-02-12 07:31:13 +0000 | |
commit | 6509ae5655ddaa75c407c660308b558633a32b80 (patch) | |
tree | 93a1ca6a345519029b9f93eedc967f70a0afa08c /lib/libc/gmon/gmon.c | |
parent | remove acss here too (diff) | |
download | wireguard-openbsd-6509ae5655ddaa75c407c660308b558633a32b80.tar.xz wireguard-openbsd-6509ae5655ddaa75c407c660308b558633a32b80.zip |
Unbreak the tree by adding missing defines. Forgot to sync in previous
spotted by todd@.
Diffstat (limited to 'lib/libc/gmon/gmon.c')
-rw-r--r-- | lib/libc/gmon/gmon.c | 5 |
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); |