diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-10-12 10:31:23 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-10-12 10:31:23 +0000 |
commit | 43ad3d03311b20d626c35d8a1537d13e5764d625 (patch) | |
tree | 48f91f8039f5c22cc5891a2f4f97a4b4f439abcc /Build/source/texk/ps2pkm/hints.c | |
parent | 5c7cda775a2f1bffea4e622099d226715b57dc6a (diff) |
texk/ps2pkm: General cleanup: ANSI/ISO C functions and more
git-svn-id: svn://tug.org/texlive/trunk@35361 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ps2pkm/hints.c')
-rw-r--r-- | Build/source/texk/ps2pkm/hints.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/Build/source/texk/ps2pkm/hints.c b/Build/source/texk/ps2pkm/hints.c index 4d5adf735fd..33fe5639d3d 100644 --- a/Build/source/texk/ps2pkm/hints.c +++ b/Build/source/texk/ps2pkm/hints.c @@ -82,7 +82,7 @@ static struct { #define FPFLOOR(fp) TOFRACTPEL((fp) >> FRACTBITS) #define FPROUND(fp) FPFLOOR((fp) + FPHALF) -void InitHints() +void InitHints(void) { int i; @@ -97,8 +97,7 @@ void InitHints() :h3.CloseHints(hintP) - Reverse hints that are still open */ -void CloseHints(hintP) - struct fractpoint *hintP; +void CloseHints(struct fractpoint *hintP) { int i; @@ -224,12 +223,10 @@ multiple of 90 degrees. :h3.ProcessHint(hP, currX, currY, hintP) - Process a rasterization hint */ -void ProcessHint(hP, currX, currY, hintP) - struct hintsegment *hP; - fractpel currX, currY; - struct fractpoint *hintP; +void ProcessHint(struct hintsegment *hP, fractpel currX, fractpel currY, + struct fractpoint *hintP) { - struct fractpoint thisHint; + struct fractpoint thisHint = { 0, 0 }; IfTrace4((HintDebug > 1)," ref=(%dl,%dl), width=(%dl,%dl)", hP->ref.x, hP->ref.y, @@ -811,8 +808,7 @@ This is the externally visible routine called from the REGIONS module when the +CONTINUITY flag is on the Interior() fill rule. */ -void ApplyContinuity(R) -struct region *R; +void ApplyContinuity(struct region *R) { struct edgelist *left; struct edgelist *right; |