summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/window/win32.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/win32.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/win32.c')
-rw-r--r--Build/source/texk/web2c/window/win32.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/Build/source/texk/web2c/window/win32.c b/Build/source/texk/web2c/window/win32.c
index 1e85d8ba861..9a777ea8b50 100644
--- a/Build/source/texk/web2c/window/win32.c
+++ b/Build/source/texk/web2c/window/win32.c
@@ -51,7 +51,7 @@ void __cdecl InitGui(void*);
LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam);
int
-mf_win32_initscreen()
+mf_win32_initscreen(void)
{
int ret;
if ((ret = _beginthread(InitGui, 0, NULL)) == -1) {
@@ -142,7 +142,7 @@ void __cdecl InitGui(void *param)
buffer) */
void
-mf_win32_updatescreen()
+mf_win32_updatescreen(void)
{
RECT r;
r.left = 0;
@@ -161,10 +161,11 @@ mf_win32_updatescreen()
reset the foreground to black because we always set it at the beginning
of paintrow (below). */
-void mf_win32_blankrectangle P4C(screencol, left,
- screencol, right,
- screenrow, top,
- screenrow, bottom)
+void
+mf_win32_blankrectangle (screencol left,
+ screencol right,
+ screenrow top,
+ screenrow bottom)
{
RECT r;
r.left = left;
@@ -182,10 +183,10 @@ void mf_win32_blankrectangle P4C(screencol, left,
able to do something here with drawing many lines. */
void
-mf_win32_paintrow P4C(screenrow, row,
- pixelcolor, init_color,
- transspec, tvect,
- register screencol, vector_size)
+mf_win32_paintrow (screenrow row,
+ pixelcolor init_color,
+ transspec tvect,
+ register screencol vector_size)
{
register int col;
HGDIOBJ CurrentPen;