]>
git.cameronkatri.com Git - mandoc.git/blob - test-ohash.c
6 static void *xmalloc(size_t, void *);
7 static void *xcalloc(size_t, size_t, void *);
8 static void xfree(void *, void *);
12 xmalloc(size_t sz
, void *arg
) {
17 xcalloc(size_t nmemb
, size_t sz
, void *arg
)
19 return calloc(nmemb
,sz
);
23 xfree(void *p
, void *arg
)
36 ohash_init(&h
, 2, &i
);