diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-17 16:15:27 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-17 16:15:27 +0000 |
commit | a2320c4fc025a6262bc6cfa6e420d85fe8d60bd6 (patch) | |
tree | b2c089949ddd571f223c3377bcf2f559195f2d88 /private.h | |
parent | 3ef2ed38138f74f57e8bac7be877cd7f644c6fa5 (diff) | |
download | mandoc-a2320c4fc025a6262bc6cfa6e420d85fe8d60bd6.tar.gz mandoc-a2320c4fc025a6262bc6cfa6e420d85fe8d60bd6.tar.zst mandoc-a2320c4fc025a6262bc6cfa6e420d85fe8d60bd6.zip |
Documentation, more validations, cleaned up actions, added Nm action.
Diffstat (limited to 'private.h')
-rw-r--r-- | private.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.66 2009/01/17 14:04:25 kristaps Exp $ */ +/* $Id: private.h,v 1.67 2009/01/17 16:15:27 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -122,7 +122,7 @@ int mdoc_tokhash_find(const void *, const char *); void mdoc_tokhash_free(void *); int mdoc_isdelim(const char *); int mdoc_iscdelim(char); -enum mdoc_sec mdoc_atosec(size_t, const char **); +enum mdoc_sec mdoc_atosec(const char *); enum mdoc_msec mdoc_atomsec(const char *); enum mdoc_vol mdoc_atovol(const char *); enum mdoc_arch mdoc_atoarch(const char *); @@ -154,6 +154,7 @@ int mdoc_args(struct mdoc *, int, #define ARGS_DELIM (1 << 1) #define ARGS_TABSEP (1 << 2) +int xstrlcats(char *, const struct mdoc_node *, size_t); int xstrlcat(char *, const char *, size_t); int xstrlcpy(char *, const char *, size_t); int xstrcmp(const char *, const char *); |