summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-07 05:54:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-07 05:54:09 +0000
commitaffb60f9d063ad854386b239fbe7688abd4cdeac (patch)
tree6787d7d3eff3b1e51d83ef8d9de8317ad3c6a7e6 /mdoc_argv.c
parent820ec2c8803594c2404d9f5cd0d1d07f90621538 (diff)
downloadmandoc-affb60f9d063ad854386b239fbe7688abd4cdeac.tar.gz
enum-ised mdoc_argv() return (better return-value safety).
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index 1828ec15..08de1bf0 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -217,7 +217,7 @@ static int mdoc_argflags[MDOC_MAX] = {
* [value0...], which may either have a single mandatory value, at least
* one mandatory value, an optional single value, or no value.
*/
-int
+enum margverr
mdoc_argv(struct mdoc *m, int line, enum mdoct tok,
struct mdoc_arg **v, int *pos, char *buf)
{