diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-06 18:32:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-06 18:32:19 +0000 |
commit | cdd9965f2080354017315270cbc3dc2da6378df9 (patch) | |
tree | abceb46c894355584ad94178001ebb10ff35db04 /tbl_data.c | |
parent | 2c5e2d1085930e82ce52bf9402182a0630e8f39d (diff) | |
download | mandoc-cdd9965f2080354017315270cbc3dc2da6378df9.tar.gz |
modernize style: "return" is not a function
Diffstat (limited to 'tbl_data.c')
-rw-r--r-- | tbl_data.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -134,10 +134,10 @@ tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) pos++; while (p[pos] != '\0') getdata(tbl, tbl->last_span, ln, p, &pos); - return(1); + return 1; } else if (p[pos] == '\0') { tbl->part = TBL_PART_DATA; - return(1); + return 1; } /* Fallthrough: T} is part of a word. */ @@ -157,7 +157,7 @@ tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) mandoc_msg(MANDOCERR_TBLDATA_SPAN, tbl->parse, ln, pos, dat->string); - return(0); + return 0; } static struct tbl_span * @@ -178,7 +178,7 @@ newspan(struct tbl_node *tbl, int line, struct tbl_row *rp) dp->prev->next = dp; tbl->last_span = dp; - return(dp); + return dp; } void |