From 8ce7319b0861bf71c1cae4ae70ff61d25ed06290 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Fri, 5 Mar 2021 23:52:37 -0500 Subject: [PATCH] cursor.c: no KH-style function definitions --- cursor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;