diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-02-12 07:31:14 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-02-12 07:31:14 +0000 |
commit | 7af426a5b2c56a8f45fc6a4fa8adffb2eab344b4 (patch) | |
tree | a4c013956e5176fa146c77a22521fcb30f27418d /lib/libc | |
parent | 981c1430adb1e776578996ccbbb97393f34a5dd3 (diff) |
Unbreak the tree by adding missing defines. Forgot to sync in previous
spotted by todd@.
Diffstat (limited to 'lib/libc')
-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); |