diff options
author | Tom Yan <tom.ty89@gmail.com> | 2022-01-20 21:54:35 +0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-04-14 17:20:09 +0000 |
commit | aa3f5023e3fae0df74039702b6c8218bc14dc679 (patch) | |
tree | 3cf26e76e4b759ca835fe074332eedde84d46978 /mi | |
parent | 786f7ceb61d3816ff4b3daa49d4072675dbaf41c (diff) |
xnest/mi: remove redundant call of miScreenDevPrivateInit()
miScreenDevPrivateInit() is also made static in this commit.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/854>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/mi.h | 5 | ||||
-rw-r--r-- | mi/miscrinit.c | 2 |
2 files changed, 1 insertions, 6 deletions
@@ -382,11 +382,6 @@ extern _X_EXPORT Bool miModifyPixmapHeader(PixmapPtr pPixmap, extern _X_EXPORT Bool miCreateScreenResources(ScreenPtr /*pScreen */ ); -extern _X_EXPORT Bool miScreenDevPrivateInit(ScreenPtr pScreen, - int width, - void *pbits - ); - extern _X_EXPORT Bool miScreenInit(ScreenPtr pScreen, void *pbits, int xsize, diff --git a/mi/miscrinit.c b/mi/miscrinit.c index 3bb52b1bc..f375d19fa 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -184,7 +184,7 @@ miCreateScreenResources(ScreenPtr pScreen) return TRUE; } -Bool +static Bool miScreenDevPrivateInit(ScreenPtr pScreen, int width, void *pbits) { miScreenInitParmsPtr pScrInitParms; |