diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-15 10:14:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-15 10:14:12 +0000 |
commit | 57931f781129f601a18308a5fa95fd9f14915ac9 (patch) | |
tree | b7b4126d6c62145c7204fab3e863c09a960a5688 /mandoc.h | |
parent | 207c80c2bab6c57fc5086bd2900dd1dab978d7a9 (diff) | |
download | mandoc-57931f781129f601a18308a5fa95fd9f14915ac9.tar.gz mandoc-57931f781129f601a18308a5fa95fd9f14915ac9.tar.zst mandoc-57931f781129f601a18308a5fa95fd9f14915ac9.zip |
Expose mandoc_strdup() to the outside world.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 *); |