From 7eb87576f54bf67c57526b4b1bc605d6ea221e0d Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Sun, 1 Jan 2023 20:36:28 -0800 Subject: [PATCH] cursorlist and cursor fore/background colors are local to module and can be static. --- src/xcursor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xcursor.c b/src/xcursor.c index ee8ea46..2f2cbeb 100644 --- a/src/xcursor.c +++ b/src/xcursor.c @@ -24,12 +24,12 @@ #include "xcursordefs.h" // for Init_XCursor, Set_XCursor, init_Xcursor #include "xdefs.h" // for XLOCK, XUNLOCK -XColor cursor_fore_xcsd, cursor_back_xcsd, xced; +static XColor cursor_fore_xcsd, cursor_back_xcsd, xced; extern Colormap Colors; extern DspInterface currentdsp; /* a simple linked list to remember X cursors */ -struct MXCURSOR { +static struct MXCURSOR { struct MXCURSOR *next; DLword bitmap[CURSORHEIGHT]; Cursor Xid;