diff options
author | 2010-05-15 22:22:16 +0000 | |
---|---|---|
committer | 2010-05-15 22:22:16 +0000 | |
commit | e4ba1cd6bc6ed28b6a685f0aee4aa6e6c90a88ab (patch) | |
tree | 4143ad4525bce9818d636652e54b845828cc3864 /usr.bin/mandoc/mdoc_strings.c | |
parent | For .IP, a single space after the head is sufficient; (diff) | |
download | wireguard-openbsd-e4ba1cd6bc6ed28b6a685f0aee4aa6e6c90a88ab.tar.xz wireguard-openbsd-e4ba1cd6bc6ed28b6a685f0aee4aa6e6c90a88ab.zip |
mdoc_isdelim now returns enum mdelim, not int any more;
noticed by kristaps@ using lint
Diffstat (limited to 'usr.bin/mandoc/mdoc_strings.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_strings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_strings.c b/usr.bin/mandoc/mdoc_strings.c index a491988b547..e369116c0bc 100644 --- a/usr.bin/mandoc/mdoc_strings.c +++ b/usr.bin/mandoc/mdoc_strings.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_strings.c,v 1.16 2010/05/15 12:30:59 schwarze Exp $ */ +/* $Id: mdoc_strings.c,v 1.17 2010/05/15 22:22:16 schwarze Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -93,7 +93,7 @@ mdoc_isdelim(const char *p) { if ('\0' == p[0]) - return(0); + return(DELIM_NONE); if ('\0' == p[1]) return(mdoc_iscdelim(p[0])); |