X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/63754be3d9019deac1f78cdebeff57c4a0d9c617..4482840eccb9facf57a7a0f8e7d4f447563804dd:/mdoc_strings.c diff --git a/mdoc_strings.c b/mdoc_strings.c index 2b669e29..e7ced1fe 100644 --- a/mdoc_strings.c +++ b/mdoc_strings.c @@ -1,6 +1,6 @@ -/* $Id: mdoc_strings.c,v 1.20 2010/05/15 08:54:04 schwarze Exp $ */ +/* $Id: mdoc_strings.c,v 1.24 2010/07/31 23:52:58 schwarze Exp $ */ /* - * Copyright (c) 2008 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -26,6 +26,7 @@ #include #include +#include "mandoc.h" #include "libmdoc.h" static const char * const secnames[SEC__MAX] = { @@ -97,7 +98,7 @@ mdoc_isdelim(const char *p) { if ('\0' == p[0]) - return(0); + return(DELIM_NONE); if ('\0' == p[1]) return(mdoc_iscdelim(p[0]));