summaryrefslogtreecommitdiffstats
path: root/mandoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-30 05:58:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-30 05:58:36 +0000
commite46c16c46ad18d40f21b251bf8995387efa68796 (patch)
tree7113f6e5fd33a5d7a1c6d20a153ccac74342f042 /mandoc.c
parente7cea9dff6d8ebb34cdba4486eef0fcc6ac84160 (diff)
downloadmandoc-e46c16c46ad18d40f21b251bf8995387efa68796.tar.gz
libmdoc and libman now using non-recoverable allocations (simpler code).
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/mandoc.c b/mandoc.c
index 086e7cd9..9c4328e6 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -150,19 +150,6 @@ mandoc_realloc(void *ptr, size_t size)
}
-void *
-mandoc_reallocf(void *old_ptr, size_t size) /* FIXME: remove (not used) */
-{
- void *ptr;
-
- ptr = realloc(old_ptr, size);
- if (NULL == ptr)
- free(old_ptr);
-
- return(ptr);
-}
-
-
char *
mandoc_strdup(const char *ptr)
{