From b6d8272551435098c716c546a5201206517e5da9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 6 Oct 2015 18:32:19 +0000 Subject: modernize style: "return" is not a function --- term_ps.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'term_ps.c') diff --git a/term_ps.c b/term_ps.c index bd86d791..1d3864f9 100644 --- a/term_ps.c +++ b/term_ps.c @@ -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 * Copyright (c) 2014, 2015 Ingo Schwarze @@ -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 -- cgit v1.2.3-56-ge451