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 | b6d8272551435098c716c546a5201206517e5da9 (patch) | |
tree | 223438db91511a96151bc1450143b4c649c40d08 /term_ps.c | |
parent | eec76d50a016de5e9c4e0d3504b148892a36aabf (diff) | |
download | mandoc-b6d8272551435098c716c546a5201206517e5da9.tar.gz mandoc-b6d8272551435098c716c546a5201206517e5da9.tar.zst mandoc-b6d8272551435098c716c546a5201206517e5da9.zip |
modernize style: "return" is not a function
Diffstat (limited to 'term_ps.c')
-rw-r--r-- | term_ps.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: term_ps.c,v 1.74 2015/04/04 17:47:18 schwarze Exp $ */ +/* $Id: term_ps.c,v 1.75 2015/10/06 18:32:20 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -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 |