summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-15 10:14:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-15 10:14:12 +0000
commit57931f781129f601a18308a5fa95fd9f14915ac9 (patch)
treeb7b4126d6c62145c7204fab3e863c09a960a5688
parent207c80c2bab6c57fc5086bd2900dd1dab978d7a9 (diff)
downloadmandoc-57931f781129f601a18308a5fa95fd9f14915ac9.tar.gz
mandoc-57931f781129f601a18308a5fa95fd9f14915ac9.tar.zst
mandoc-57931f781129f601a18308a5fa95fd9f14915ac9.zip
Expose mandoc_strdup() to the outside world.
-rw-r--r--mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 20ab87a7..ff5d302f 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.77 2011/05/24 21:31:23 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.78 2011/07/15 10:14:12 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -324,6 +324,7 @@ const char *mparse_strlevel(enum mandoclevel);
void *mandoc_calloc(size_t, size_t);
void *mandoc_malloc(size_t);
void *mandoc_realloc(void *, size_t);
+char *mandoc_strdup(const char *);
enum mandoc_esc mandoc_escape(const char **, const char **, int *);