=================================================================== RCS file: /cvs/mandoc/mandoc.h,v retrieving revision 1.58 retrieving revision 1.59 diff -u -p -r1.58 -r1.59 --- mandoc/mandoc.h 2011/03/07 01:35:51 1.58 +++ mandoc/mandoc.h 2011/03/17 08:49:34 1.59 @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.58 2011/03/07 01:35:51 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.59 2011/03/17 08:49:34 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * @@ -312,14 +312,14 @@ struct regset { struct reg regs[REG__MAX]; }; +typedef int (*mandocmsg)(enum mandocerr, void *, + int, int, const char *); + __BEGIN_DECLS -/* - * Callback function for warnings, errors, and fatal errors as they - * occur in the compilers libroff, libmdoc, and libman. - */ -typedef int (*mandocmsg)(enum mandocerr, void *, - int, int, const char *); +void *mandoc_calloc(size_t, size_t); +void *mandoc_malloc(size_t); +void *mandoc_realloc(void *, size_t); __END_DECLS