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 /term_ps.c | |
parent | 2c5e2d1085930e82ce52bf9402182a0630e8f39d (diff) | |
download | mandoc-cdd9965f2080354017315270cbc3dc2da6378df9.tar.gz |
modernize style: "return" is not a function
Diffstat (limited to 'term_ps.c')
-rw-r--r-- | term_ps.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -516,7 +516,7 @@ pdf_alloc(const struct mchars *mchars, const struct manoutput *outopts) if (NULL != (p = pspdf_alloc(mchars, outopts))) p->type = TERMTYPE_PDF; - return(p); + return p; } void * @@ -527,7 +527,7 @@ ps_alloc(const struct mchars *mchars, const struct manoutput *outopts) if (NULL != (p = pspdf_alloc(mchars, outopts))) p->type = TERMTYPE_PS; - return(p); + return p; } static struct termp * @@ -616,7 +616,7 @@ pspdf_alloc(const struct mchars *mchars, const struct manoutput *outopts) p->ps->lineheight = lineheight; p->defrmargin = pagex - (marginx * 2); - return(p); + return p; } static void @@ -1270,7 +1270,7 @@ ps_width(const struct termp *p, int c) else c -= 32; - return((size_t)fonts[(int)TERMFONT_NONE].gly[c].wx); + return (size_t)fonts[(int)TERMFONT_NONE].gly[c].wx; } static int @@ -1325,7 +1325,7 @@ ps_hspan(const struct termp *p, const struct roffsu *su) break; } - return(r * 24.0); + return r * 24.0; } static void |