diff options
-rw-r--r-- | mdoc_action.c | 3 | ||||
-rw-r--r-- | mdoc_html.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mdoc_action.c b/mdoc_action.c index a5c8cb0a..844e1bf6 100644 --- a/mdoc_action.c +++ b/mdoc_action.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_action.c,v 1.40 2009/09/24 15:08:41 kristaps Exp $ */ +/* $Id: mdoc_action.c,v 1.41 2009/09/25 13:03:25 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -934,6 +934,7 @@ order_rs(int t) } +/* ARGSUSED */ static int post_rs(POST_ARGS) { diff --git a/mdoc_html.c b/mdoc_html.c index e7183b57..feb04db4 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.11 2009/09/25 12:43:05 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.12 2009/09/25 13:00:13 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -1597,7 +1597,7 @@ mdoc_fn_pre(MDOC_ARGS) assert(n->child->string); sp = n->child->string; - while ((ep = strchr(sp, ' '))) { + while (NULL != (ep = strchr(sp, ' '))) { sz = MIN((int)(ep - sp), BUFSIZ - 1); (void)memcpy(nbuf, sp, (size_t)sz); nbuf[sz] = '\0'; |