diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-12 08:41:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-12 08:41:17 +0000 |
commit | 9f11efb0307eb4c4dbb4a8fff243321100e27573 (patch) | |
tree | 1eec3760c1790106496b536cde695f4912d0278e /libmdoc.h | |
parent | bc0b057e87136f91e81cd2c0f344327dabd21c7f (diff) | |
download | mandoc-9f11efb0307eb4c4dbb4a8fff243321100e27573.tar.gz mandoc-9f11efb0307eb4c4dbb4a8fff243321100e27573.tar.zst mandoc-9f11efb0307eb4c4dbb4a8fff243321100e27573.zip |
mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2).
Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein.
Fixed mdoc_str2sec not to use weird structure.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.40 2010/05/09 10:17:02 kristaps Exp $ */ +/* $Id: libmdoc.h,v 1.41 2010/05/12 08:41:17 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -162,7 +162,7 @@ enum mdoct mdoc_hash_find(const char *); int mdoc_iscdelim(char); int mdoc_isdelim(const char *); size_t mdoc_isescape(const char *); -enum mdoc_sec mdoc_atosec(const char *); +enum mdoc_sec mdoc_str2sec(const char *); time_t mdoc_atotime(const char *); size_t mdoc_macro2len(enum mdoct); const char *mdoc_a2att(const char *); |