mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 21:02:13 +00:00
dix: drop unused args from CreateRootCursor()
The args have become dummies almost two decades ago, so no need to keep them any longer. Fixes:0afeb0241aSigned-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1522> (cherry picked from commit4a27ff7a1a)
This commit is contained in:
committed by
Alan Coopersmith
parent
f4ed79c344
commit
c7846a6112
@@ -486,7 +486,7 @@ AllocGlyphCursor(Font source, unsigned sourceChar, Font mask, unsigned maskChar,
|
||||
*************************************************************/
|
||||
|
||||
CursorPtr
|
||||
CreateRootCursor(char *unused1, unsigned int unused2)
|
||||
CreateRootCursor(void)
|
||||
{
|
||||
CursorPtr curs;
|
||||
FontPtr cursorfont;
|
||||
|
||||
@@ -227,7 +227,7 @@ dix_main(int argc, char *argv[], char *envp[])
|
||||
FatalError("could not open default font");
|
||||
}
|
||||
|
||||
if (!(rootCursor = CreateRootCursor(NULL, 0))) {
|
||||
if (!(rootCursor = CreateRootCursor())) {
|
||||
FatalError("could not open default cursor font");
|
||||
}
|
||||
|
||||
|
||||
@@ -99,8 +99,7 @@ extern _X_EXPORT int AllocGlyphCursor(Font /*source */ ,
|
||||
ClientPtr /*client */ ,
|
||||
XID /*cid */ );
|
||||
|
||||
extern _X_EXPORT CursorPtr CreateRootCursor(char * /*pfilename */ ,
|
||||
unsigned int /*glyph */ );
|
||||
extern _X_EXPORT CursorPtr CreateRootCursor(void);
|
||||
|
||||
extern _X_EXPORT int ServerBitsFromGlyph(FontPtr /*pfont */ ,
|
||||
unsigned int /*ch */ ,
|
||||
|
||||
Reference in New Issue
Block a user