diff --git a/cursor.c b/cursor.c index 393959c..75ff861 100644 --- a/cursor.c +++ b/cursor.c @@ -141,8 +141,7 @@ static char grey_bits[] = {0x01, 0x04}; static XColor bl, wh; -Cursor getcursor(c, s) Cursordata* c; -ScreenInfo* s; +Cursor getcursor(Cursordata* c, ScreenInfo* s) { Pixmap f, m; @@ -167,7 +166,7 @@ ScreenInfo* s; return XCreatePixmapCursor(dpy, f, m, &bl, &wh, c->hot[0], c->hot[1]); } -void initcurs(s) ScreenInfo* s; +void initcurs(ScreenInfo* s) { XColor dummy;