summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-05-15 22:22:17 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-05-15 22:22:17 +0000
commit9be747ee1b1eac217127619ca44caf4eb6f851ab (patch)
tree29205a5bb288a7f11c75d10f37cec6ce7e8b9dd7
parent537963a3f11ccabce1df257ddd6f3471203e24f0 (diff)
mdoc_isdelim now returns enum mdelim, not int any more;
noticed by kristaps@ using lint
-rw-r--r--usr.bin/mandoc/mdoc_strings.c4
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]));