=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/tbl_data.c,v retrieving revision 1.31 retrieving revision 1.32 diff -c -r1.31 -r1.32 *** src/usr.bin/mandoc/tbl_data.c 2017/07/04 20:59:17 1.31 --- src/usr.bin/mandoc/tbl_data.c 2017/07/08 17:52:42 1.32 *************** *** 1,4 **** ! /* $OpenBSD: tbl_data.c,v 1.31 2017/07/04 20:59:17 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2015, 2017 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: tbl_data.c,v 1.32 2017/07/08 17:52:42 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2015, 2017 Ingo Schwarze *************** *** 126,132 **** tbl->parse, ln, sv, dat->string); } ! int tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) { struct tbl_dat *dat; --- 126,132 ---- tbl->parse, ln, sv, dat->string); } ! void tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) { struct tbl_dat *dat; *************** *** 141,150 **** pos++; while (p[pos] != '\0') getdata(tbl, tbl->last_span, ln, p, &pos); ! return 1; } else if (p[pos] == '\0') { tbl->part = TBL_PART_DATA; ! return 1; } /* Fallthrough: T} is part of a word. */ --- 141,150 ---- pos++; while (p[pos] != '\0') getdata(tbl, tbl->last_span, ln, p, &pos); ! return; } else if (p[pos] == '\0') { tbl->part = TBL_PART_DATA; ! return; } /* Fallthrough: T} is part of a word. */ *************** *** 164,171 **** if (dat->layout->pos == TBL_CELL_DOWN) mandoc_msg(MANDOCERR_TBLDATA_SPAN, tbl->parse, ln, pos, dat->string); - - return 0; } static struct tbl_span * --- 164,169 ----