summaryrefslogtreecommitdiff
path: root/monitor_mm.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-01-10 10:37:05 +1100
committerDamien Miller <djm@mindrot.org>2014-01-10 10:37:05 +1100
commit3e49853650448883685cfa32fa382d0ba6d51d48 (patch)
treecc8125afc2ef7cf2ce3098e661b2eaba06c7367d /monitor_mm.h
parenta9c1e500ef609795cbc662848edb1a1dca279c81 (diff)
- tedu@cvs.openbsd.org 2014/01/04 17:50:55
[mac.c monitor_mm.c monitor_mm.h xmalloc.c] use standard types and formats for size_t like variables. ok dtucker
Diffstat (limited to 'monitor_mm.h')
-rw-r--r--monitor_mm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor_mm.h b/monitor_mm.h
index c890f7709..f1fae7e3b 100644
--- a/monitor_mm.h
+++ b/monitor_mm.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_mm.h,v 1.5 2008/04/29 11:20:31 otto Exp $ */ 1/* $OpenBSD: monitor_mm.h,v 1.6 2014/01/04 17:50:55 tedu Exp $ */
2 2
3/* 3/*
4 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 4 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
@@ -47,7 +47,7 @@ RB_PROTOTYPE(mmtree, mm_share, next, mm_compare)
47 47
48#define MM_MINSIZE 128 48#define MM_MINSIZE 128
49 49
50#define MM_ADDRESS_END(x) (void *)((u_char *)(x)->address + (x)->size) 50#define MM_ADDRESS_END(x) (void *)((char *)(x)->address + (x)->size)
51 51
52struct mm_master *mm_create(struct mm_master *, size_t); 52struct mm_master *mm_create(struct mm_master *, size_t);
53void mm_destroy(struct mm_master *); 53void mm_destroy(struct mm_master *);