summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/window/x11-Xlib.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-15 15:16:37 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-15 15:16:37 +0000
commit9b9bd438a2fac27b0347aef44b584acfd52d53ab (patch)
tree72abddecb9d50e616762248178b8838afa776f91 /Build/source/texk/web2c/window/x11-Xlib.c
parenta1d98fc587aabf2890b449221ec9fcf4f951baac (diff)
avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13757 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/window/x11-Xlib.c')
-rw-r--r--Build/source/texk/web2c/window/x11-Xlib.c31
1 files changed, 21 insertions, 10 deletions
diff --git a/Build/source/texk/web2c/window/x11-Xlib.c b/Build/source/texk/web2c/window/x11-Xlib.c
index 52612cbf840..1d7b9f93940 100644
--- a/Build/source/texk/web2c/window/x11-Xlib.c
+++ b/Build/source/texk/web2c/window/x11-Xlib.c
@@ -74,11 +74,22 @@ static XWMHints wm_hints = {
#define DEFAULT_X_POSITION 0
#define DEFAULT_Y_POSITION 0
+int mf_x11_initscreen(void);
+void mf_x11_updatescreen(void);
+void mf_x11_blankrectangle(screencol left,
+ screencol right,
+ screenrow top,
+ screenrow bottom);
+void mf_x11_paintrow(screenrow row,
+ pixelcolor init_color,
+ transspec transition_vector,
+ screencol vector_size);
+
/* Return 1 (i.e., true) if display opened successfully, else 0. */
int
-mf_x11_initscreen()
+mf_x11_initscreen(void)
{
char *geometry;
int geometry_found = 0;
@@ -224,7 +235,7 @@ mf_x11_initscreen()
buffer) */
void
-mf_x11_updatescreen()
+mf_x11_updatescreen(void)
{
XFlush(my_display);
}
@@ -235,10 +246,10 @@ reset the foreground to black because we always set it at the beginning
of paintrow (below). */
void
-mf_x11_blankrectangle P4C(screencol, left,
- screencol, right,
- screenrow, top,
- screenrow, bottom)
+mf_x11_blankrectangle(screencol left,
+ screencol right,
+ screenrow top,
+ screenrow bottom)
{
XSetForeground(my_display, my_gc, white);
XFillRectangle(my_display, my_window, my_gc,
@@ -253,10 +264,10 @@ mf_x11_blankrectangle P4C(screencol, left,
able to do something here with drawing many lines. */
void
-mf_x11_paintrow P4C(screenrow, row,
- pixelcolor, init_color,
- transspec, tvect,
- register screencol, vector_size)
+mf_x11_paintrow(screenrow row,
+ pixelcolor init_color,
+ transspec tvect,
+ screencol vector_size)
{
register int color, col;