summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/window/hp2627.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-24 07:02:11 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-24 07:02:11 +0000
commit6cbeff63c5f18ab4752342de7ae83a35118ebc38 (patch)
treee3becf02bc3d160206e1370760b38fd6a3c03609 /Build/source/texk/web2c/window/hp2627.c
parent4257aa8b08cf9d60fbf6dd3d5da0afae5e4308ba (diff)
use ANSI C function declarations and prototypes
git-svn-id: svn://tug.org/texlive/trunk@13938 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/window/hp2627.c')
-rw-r--r--Build/source/texk/web2c/window/hp2627.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/Build/source/texk/web2c/window/hp2627.c b/Build/source/texk/web2c/window/hp2627.c
index 2734bb36a02..a9505644cb6 100644
--- a/Build/source/texk/web2c/window/hp2627.c
+++ b/Build/source/texk/web2c/window/hp2627.c
@@ -68,7 +68,7 @@ static char mf_hp2627_pencolors[2] = {
* sense status or something masochistic like that)
*/
-int mf_hp2627_initscreen()
+int mf_hp2627_initscreen(void)
{
(void) fflush(stdout); /* make sure pascal-level output flushed */
(void) write(fileno(stdout), HP2627_INITSTRING, HP2627_INITSTRINGLEN);
@@ -84,7 +84,7 @@ int mf_hp2627_initscreen()
* but why not?)
*/
-void mf_hp2627_updatescreen()
+void mf_hp2627_updatescreen(void)
{
(void) fflush(stdout);
}
@@ -96,10 +96,10 @@ void mf_hp2627_updatescreen()
* to background color
*/
-void mf_hp2627_blankrectangle P4C(screencol, left,
- screencol, right,
- screenrow, top,
- screenrow, bottom)
+void mf_hp2627_blankrectangle (screencol left,
+ screencol right,
+ screenrow top,
+ screenrow bottom)
{
char sprbuf[128];
@@ -163,10 +163,10 @@ void mf_hp2627_blankrectangle P4C(screencol, left,
oldx = x; \
oldy = y;
-void mf_hp2627_paintrow P4C(screenrow, row,
- pixelcolor, init_color,
- transspec, transition_vector,
- screencol, vector_size)
+void mf_hp2627_paintrow (screenrow row,
+ pixelcolor init_color,
+ transspec transition_vector,
+ screencol vector_size)
{
register color;
char outbuf[512*6]; /* enough to hold an alternate color */