aboutsummaryrefslogtreecommitdiffstats
path: root/tbl_html.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-22 18:08:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-22 18:08:25 +0000
commit52c0e9552d2c7c67a39132a9eb3dc5a876a7429e (patch)
tree7ef9f92f249a503d1c005f88d483481725db364a /tbl_html.c
parent53f5f26c3e5c6d5c310f44f1882afbd9cdd0297b (diff)
downloadsrc-52c0e9552d2c7c67a39132a9eb3dc5a876a7429e.tar.gz
src-52c0e9552d2c7c67a39132a9eb3dc5a876a7429e.zip
Import mandoc 1.13.1vendor/mandoc/1.13.1
Notes
Notes: svn path=/vendor/mdocml/dist/; revision=274876 svn path=/vendor/mdocml/1.13.1/; revision=274877; tag=vendor/mandoc/1.13.1
Diffstat (limited to 'tbl_html.c')
-rw-r--r--tbl_html.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/tbl_html.c b/tbl_html.c
index 6b8ced716b11..4b85d06c89ba 100644
--- a/tbl_html.c
+++ b/tbl_html.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_html.c,v 1.10 2012/05/27 17:54:54 schwarze Exp $ */
+/* $Id: tbl_html.c,v 1.11 2014/04/20 16:46:05 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -31,15 +31,14 @@ static void html_tblopen(struct html *, const struct tbl_span *);
static size_t html_tbl_len(size_t, void *);
static size_t html_tbl_strlen(const char *, void *);
-/* ARGSUSED */
+
static size_t
html_tbl_len(size_t sz, void *arg)
{
-
+
return(sz);
}
-/* ARGSUSED */
static size_t
html_tbl_strlen(const char *p, void *arg)
{
@@ -107,9 +106,9 @@ print_tbl(struct html *h, const struct tbl_span *sp)
tt = print_otag(h, TAG_TR, 0, NULL);
switch (sp->pos) {
- case (TBL_SPAN_HORIZ):
+ case TBL_SPAN_HORIZ:
/* FALLTHROUGH */
- case (TBL_SPAN_DHORIZ):
+ case TBL_SPAN_DHORIZ:
PAIR_INIT(&tag, ATTR_COLSPAN, "0");
print_otag(h, TAG_TD, 1, &tag);
break;