dix: drop unused args from CreateRootCursor()
The args have become dummies almost two decades ago, so no need
to keep them any longer.
Fixes: 0afeb0241a
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1522>
This commit is contained in:
parent
27babe0334
commit
4a27ff7a1a
|
@ -489,7 +489,7 @@ AllocGlyphCursor(Font source, unsigned sourceChar, Font mask, unsigned maskChar,
|
|||
*************************************************************/
|
||||
|
||||
CursorPtr
|
||||
CreateRootCursor(char *unused1, unsigned int unused2)
|
||||
CreateRootCursor(void)
|
||||
{
|
||||
CursorPtr curs;
|
||||
FontPtr cursorfont;
|
||||
|
|
|
@ -237,7 +237,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 */ ,
|
||||
|
|
Loading…
Reference in New Issue